server: check that channel id is specified
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
This commit is contained in:
parent
8c47f376dc
commit
ae703cfe4b
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ export class Connection {
|
|||
* @param data The message to be sent.
|
||||
*/
|
||||
private onChannelMessageRequested(data: Record<string, any>) {
|
||||
if (!data.id) return;
|
||||
this.channels[data.id]?.onMessage?.(data.type, data.body);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue