From 0a4b8d202a1b4eed05b00256044c9816dc12f388 Mon Sep 17 00:00:00 2001 From: oismaelash Date: Fri, 4 Oct 2024 00:41:19 -0300 Subject: [PATCH] fix: transform any string on number to Lower Case, for not show reading id of undefined --- .../integrations/channel/whatsapp/whatsapp.baileys.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts index 99c7eb96..417d379e 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -1676,6 +1676,8 @@ export class BaileysStartupService extends ChannelStartupService { ephemeralExpiration?: number, // participants?: GroupParticipant[], ) { + sender = sender.toLowerCase(); + const option: any = { quoted, };