From 1bb297f68ba06d0008c55f1fc1351039c3600aff Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Fri, 12 Jul 2024 11:13:47 -0300 Subject: [PATCH] fix(whatsapp.gblib): Fix broadcasts. --- packages/whatsapp.gblib/services/WhatsappDirectLine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 2a6d6311..be7b7c14 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -759,7 +759,7 @@ export class WhatsappDirectLine extends GBService { const driver = createBot(whatsappServiceNumber, whatsappServiceKey); if (msg['name']) { - const res = await driver.sendTemplate(to, msg['name'], 'pt_PT', msg['components']); + const res = await driver.sendTemplate(to, msg['name'], 'pt_BR', msg['components']); } else { messages = msg.match(/(.|[\r\n]){1,4096}/g);