diff --git a/src/Repeater/DefaultRepeaterServer.ts b/src/Repeater/DefaultRepeaterServer.ts index 10a0cf85..31ea877d 100644 --- a/src/Repeater/DefaultRepeaterServer.ts +++ b/src/Repeater/DefaultRepeaterServer.ts @@ -120,8 +120,8 @@ export class DefaultRepeaterServer implements RepeaterServer { public scriptsUpdated( handler: (event: RepeaterServerScriptsUpdatedEvent) => Promise | void ): void { - this.socket.on('update-scripts', (payload, callback) => - this.processEventHandler('update-scripts', payload, handler, callback) + this.socket.on('scripts-updated', (payload, callback) => + this.processEventHandler('scripts-updated', payload, handler, callback) ); }