From 8cd877116087430c348212dd7ec2baf881a0c9b0 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Tue, 13 Aug 2024 16:23:47 +0100 Subject: [PATCH] Verboser logging --- functions/transferChatStart.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/transferChatStart.ts b/functions/transferChatStart.ts index eb54c3ee..aa61fb39 100644 --- a/functions/transferChatStart.ts +++ b/functions/transferChatStart.ts @@ -312,6 +312,12 @@ export const handler = TokenValidator( }).forEach(([key, value]) => { console.debug(`${key}:`, value); }); + console.debug('newAttributes:'); + Object.entries({ + newAttributes, + }).forEach(([key, value]) => { + console.debug(`${key}:`, value); + }); const invite = await client.flexApi.v1.interaction .get(flexInteractionSid) .channels.get(flexInteractionChannelSid)