mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: nit
This commit is contained in:
parent
50f70e00b8
commit
f968181177
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user