Skip to content

Commit

Permalink
馃殤 (whatsapp) Fix broken preview
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Feb 28, 2024
1 parent 060c49d commit 275ba1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bot-engine/whatsapp/resumeWhatsAppFlow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const resumeWhatsAppFlow = async ({
}
}

if (credentials.phoneNumberId !== phoneNumberId) {
if (credentials.phoneNumberId !== phoneNumberId && !isPreview) {
console.error('Credentials point to another phone ID, skipping...')
return {
message: 'Message received',
Expand Down

0 comments on commit 275ba1b

Please sign in to comment.