Fix incorrect event name being sent down websocket when hot reloading component plugins

This commit is contained in:
Andrew Kingston 2022-09-21 09:11:23 +01:00
parent 7c412aaa08
commit 41d6c8c093
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) 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 return doc
} }