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 f62888d0f8
commit b1ec1fafb4
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
} }