2
0

🚑 (whatsapp) Fix broken preview

This commit is contained in:
Baptiste Arnaud
2024-02-28 15:49:18 +01:00
parent 060c49dcde
commit 275ba1b1c4

View File

@ -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',