From 672bdc1cc7db5fcef09e78741c1ca1900b774c16 Mon Sep 17 00:00:00 2001 From: Judson Cairo Date: Wed, 4 Sep 2024 17:05:07 -0300 Subject: [PATCH] Fix on whatsapp number return --- .../integrations/channel/whatsapp/whatsapp.baileys.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts index 5e165f0c..89347790 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -2732,7 +2732,7 @@ export class BaileysStartupService extends ChannelStartupService { exists: true, jid: cached.remoteJid, name: contacts.find((c) => c.remoteJid === cached.remoteJid)?.pushName, - number: cached.number, + number: user.number, }; }