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,