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 f1dee80961
commit 8825edd093
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
}