From cbca48846c2bedf0e99ac8dec332500748b9798f Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 17 May 2023 11:10:31 +0900 Subject: [PATCH] fix streamin error --- packages/backend/src/server/api/stream/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/stream/index.ts b/packages/backend/src/server/api/stream/index.ts index a6f9145952..fee56e3668 100644 --- a/packages/backend/src/server/api/stream/index.ts +++ b/packages/backend/src/server/api/stream/index.ts @@ -246,7 +246,7 @@ export default class Connection { const ch: Channel = channelService.create(id, this); this.channels.push(ch); - ch.init(params); + ch.init(params ?? {}); if (pong) { this.sendMessageToWs('connected', {