From b1ec1fafb4a496631047ecc9a3d7080dba4a9753 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 21 Sep 2022 09:11:23 +0100 Subject: [PATCH] Fix incorrect event name being sent down websocket when hot reloading component plugins --- packages/server/src/api/controllers/plugin/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/plugin/index.ts b/packages/server/src/api/controllers/plugin/index.ts index 868d2689fd..7d1b1291ab 100644 --- a/packages/server/src/api/controllers/plugin/index.ts +++ b/packages/server/src/api/controllers/plugin/index.ts @@ -129,6 +129,6 @@ export async function processUploadedPlugin( } const doc = await plugins.storePlugin(metadata, directory, source) - ClientAppSocket.emit("plugins-update", { name: doc.name, hash: doc.hash }) + ClientAppSocket.emit("plugin-update", { name: doc.name, hash: doc.hash }) return doc }