diff --git a/src/stream.ts b/src/stream.ts index be7a8c4ba..38a640c5d 100644 --- a/src/stream.ts +++ b/src/stream.ts @@ -10,7 +10,7 @@ function publish(channel: string, type: string, value?: any): void { { type: type } : { type: type, body: value }; - ev.emit(channel, message); + ev.emit(channel, message); } export function publishUserStream(userId: ID, type: string, value?: any): void {