re-add missing reference to name variable in plugins

This commit is contained in:
Martin McKeaveney 2022-09-18 16:00:51 +01:00
parent 915405275d
commit 92221fe115
1 changed files with 1 additions and 1 deletions

View File

@ -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
}