Skip to content

Commit

Permalink
fix(servereventmanager): change value emit for respect type Event
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanCottrez committed Nov 29, 2024
1 parent 12ffca9 commit a7ab3a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/server-event-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class ServerEventManager implements EventManager {
const localEventName = this.events[i].eventName;
const match = regex.test(localEventName);
if (match) {
this.emitter.emit(localEventName, args);
this.emitter.emit(localEventName, { detail: args || [] });
}
i++;
}
Expand Down

0 comments on commit a7ab3a6

Please sign in to comment.