From 12a13bf60711458393c70019b8e279f62d999759 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Wed, 3 Jul 2024 13:24:49 +0100 Subject: [PATCH] Import fixes for adjustCapacityListener.private.ts --- functions/channelCapture/captureChannelWithBot.protected.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/channelCapture/captureChannelWithBot.protected.ts b/functions/channelCapture/captureChannelWithBot.protected.ts index b068a217..17cc3458 100644 --- a/functions/channelCapture/captureChannelWithBot.protected.ts +++ b/functions/channelCapture/captureChannelWithBot.protected.ts @@ -71,7 +71,7 @@ export const handler = async ( const isConversation = (typeof isConversationValue === 'string' && isConversationValue === 'true') || - Boolean(isConversationValue); + (typeof isConversationValue === 'boolean' && isConversationValue); const handlerPath = Runtime.getFunctions()['channelCapture/channelCaptureHandlers'].path; const channelCaptureHandlers = require(handlerPath) as ChannelCaptureHandlers;