Updated previous uses of emitAsGM to emitGMUpdate

This commit is contained in:
WBHarry 2026-05-02 14:14:41 +02:00
parent 02a489e8f7
commit 091c8527d6
11 changed files with 24 additions and 24 deletions

View file

@ -125,7 +125,7 @@ export const registerUserQueries = () => {
};
export const emitGMUpdate = async (eventName, callback, update, uuid = null, refresh = null) => {
return await emitAsGM(socketEvent.GMUpdate, { eventName, callback, data: update, uuid, refresh });
return await emitAsGM(socketEvent.GMUpdate, { action: eventName, callback, data: update, uuid, refresh });
};
export const emitGMCreate = async (documentType, callback, data, scene) => {