From 92221fe11523e17ba9b4becb4ec384cac55f8938 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Sun, 18 Sep 2022 16:00:51 +0100 Subject: [PATCH] re-add missing reference to name variable in 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 a674c5892e..868d2689fd 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, hash: doc.hash }) + ClientAppSocket.emit("plugins-update", { name: doc.name, hash: doc.hash }) return doc }