Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Oct 18, 2024
1 parent a2856e9 commit 390d9a2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ const createConversation = async (
useTestApi,
}: CreateFlexConversationParams,
): Promise<{ conversationSid: ConversationSid; error?: Error }> => {
if (useTestApi) {
console.info('useTestApi flag set. All outgoing messages will be sent to the test API.');
}
const client = context.getTwilioClient();

const conversationInstance = await client.conversations.conversations.create({
Expand Down

0 comments on commit 390d9a2

Please sign in to comment.