This commit is contained in:
Mohamed Marrouchi 2025-05-30 09:23:30 +01:00
parent 50f70e00b8
commit f968181177

View File

@ -126,7 +126,7 @@ export class ChannelService {
) { ) {
this.logger.log('Channel notification (Web Socket) : ', req.method); this.logger.log('Channel notification (Web Socket) : ', req.method);
const handler = this.getChannelHandler(WEB_CHANNEL_NAME); const handler = this.getChannelHandler(WEB_CHANNEL_NAME);
return await Promise.resolve(handler.handle(req, res)); return await handler.handle(req, res);
} }
/** /**
@ -195,6 +195,6 @@ export class ChannelService {
} }
const handler = this.getChannelHandler(CONSOLE_CHANNEL_NAME); const handler = this.getChannelHandler(CONSOLE_CHANNEL_NAME);
return await Promise.resolve(handler.handle(req, res)); return await handler.handle(req, res);
} }
} }