From 0656653101816a5397e67748c2e89dc3c5dda005 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Thu, 30 May 2024 08:57:05 +0100 Subject: [PATCH] Fix timer specification to automatically close conversations for custom channels --- functions/helpers/customChannels/customChannelToFlex.private.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/helpers/customChannels/customChannelToFlex.private.ts b/functions/helpers/customChannels/customChannelToFlex.private.ts index 899cf5df..657dc260 100644 --- a/functions/helpers/customChannels/customChannelToFlex.private.ts +++ b/functions/helpers/customChannels/customChannelToFlex.private.ts @@ -19,7 +19,7 @@ import { Context } from '@twilio-labs/serverless-runtime-types/types'; export type ConversationSid = `CH${string}`; export type ChatChannelSid = `CH${string}`; -const CONVERSATION_CLOSE_TIMEOUT = 'PT3D'; +const CONVERSATION_CLOSE_TIMEOUT = 'P3D'; /** * @deprecated