From 78b70ff7ba2388305a7d72dfce4d43319d3828ab Mon Sep 17 00:00:00 2001 From: Stephen Okpalaononuju Date: Wed, 19 Jun 2024 15:14:40 +0100 Subject: [PATCH] ch: modify debud data 4 --- functions/channelCapture/channelCaptureHandlers.private.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/channelCapture/channelCaptureHandlers.private.ts b/functions/channelCapture/channelCaptureHandlers.private.ts index 7fa8fb54..8c497b8d 100644 --- a/functions/channelCapture/channelCaptureHandlers.private.ts +++ b/functions/channelCapture/channelCaptureHandlers.private.ts @@ -117,8 +117,12 @@ const updateChannelWithCapture = async ( channelType, } = attributes; + console.log('attributes in channelCapture', attributes); + const channelAttributes = JSON.parse(channel.attributes); + console.log('channelAttributes in channelCapture', channelAttributes); + const userIdentityOrParticipantId = await getServiceUserIdentityOrParticipantId( channel, channelAttributes, @@ -146,6 +150,8 @@ const updateChannelWithCapture = async ( }), }; + console.log('newAttributes in channelCapture', newAttributes); + if (isConversation) { return (channel as ConversationInstance).update( newAttributes as ConversationInstanceUpdateOptions,