fixed sse response schema

This commit is contained in:
Suman991 2026-04-17 17:51:17 +05:30
parent 19f1d64ce8
commit bf39f07965

View File

@ -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(