fix: microchanges

This commit is contained in:
2024-09-11 23:53:23 +01:00
parent 1467bb65b0
commit 70df94afa2
5 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ export class Client {
eventName: EventName,
callback: RageFW_ClientCallback<EventName>,
): void {
rpc.register(eventName, data => {
return callback(data)
rpc.register(eventName, async data => {
return await callback(data)
})
}