Skip to content

Commit

Permalink
chore: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
GPaoloni committed Nov 25, 2024
1 parent d979c8f commit 910482d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions functions/sendMessageAndRunJanitor.protected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ export const handler = async (
if (conversationSid) {
const conversationWebhooks = await context
.getTwilioClient()
.conversations.services(context.CHAT_SERVICE_SID)
.conversations(conversationSid)
.conversations.v1.conversations(conversationSid)
.webhooks.list();

// Remove the studio trigger webhooks to prevent this channel to trigger subsequent Studio flows executions
Expand Down

0 comments on commit 910482d

Please sign in to comment.