From dec81d32d31e0728f8d9263e58417d7bd08d1ea8 Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 9 Oct 2024 17:56:40 +0100 Subject: [PATCH] fix type in channel.ts --- packages/backend/src/server/api/stream/channels/channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/stream/channels/channel.ts b/packages/backend/src/server/api/stream/channels/channel.ts index 226e161122..9939aa49ee 100644 --- a/packages/backend/src/server/api/stream/channels/channel.ts +++ b/packages/backend/src/server/api/stream/channels/channel.ts @@ -30,7 +30,7 @@ class ChannelChannel extends Channel { } @bindThis - public async init(params: any) { + public async init(params: JsonObject) { if (typeof params.channelId !== 'string') return; this.channelId = params.channelId; this.withFiles = !!(params.withFiles ?? false);