mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 21:04:16 +02:00
Updated previous uses of emitAsGM to emitGMUpdate
This commit is contained in:
parent
02a489e8f7
commit
091c8527d6
11 changed files with 24 additions and 24 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue