forked from FoundKeyGang/FoundKey
server: fix undefined variable in streaming API
This commit is contained in:
parent
101b3334dd
commit
8c47f376dc
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ export class Connection {
|
|||
* @param data The message to be sent.
|
||||
*/
|
||||
private onChannelMessageRequested(data: Record<string, any>) {
|
||||
this.channels[id]?.onMessage?.(data.type, data.body);
|
||||
this.channels[data.id]?.onMessage?.(data.type, data.body);
|
||||
}
|
||||
|
||||
private typingOnChannel(channel: ChannelModel['id']) {
|
||||
|
|
Loading…
Reference in a new issue