fixed sse response schema
This commit is contained in:
parent
19f1d64ce8
commit
bf39f07965
@ -45,7 +45,9 @@ export class ConversationsService {
|
||||
const subject = this.sseClients.get(userId);
|
||||
if (!subject) return;
|
||||
|
||||
subject.next({ type: event, data } as MessageEvent);
|
||||
subject.next(
|
||||
{ type: event, data:data } as MessageEvent
|
||||
);
|
||||
}
|
||||
|
||||
async create(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user