Skip to content

Commit

Permalink
ch: console log capturedChannelAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
acedeywin committed Jun 13, 2024
1 parent 0bbb63b commit 88b3456
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions functions/channelCapture/chatbotCallback.protected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ export const handler = async (
const capturedChannelAttributes =
channelAttributes.capturedChannelAttributes as CapturedChannelAttributes;

console.log('capturedChannelAttributes is here', capturedChannelAttributes);

const lexResult = await lexClient.postText(context, {
botName: capturedChannelAttributes.botName,
botAlias: capturedChannelAttributes.botAlias,
userId: capturedChannelAttributes.userId,
botName: capturedChannelAttributes?.botName,
botAlias: capturedChannelAttributes?.botAlias,
userId: capturedChannelAttributes?.userId,
inputText: Body,
});

Expand Down

0 comments on commit 88b3456

Please sign in to comment.