From 5013e510da5510c549ca6d39dfa6be64798229b9 Mon Sep 17 00:00:00 2001 From: ricaelchiquetti Date: Fri, 15 Aug 2025 17:19:08 -0300 Subject: [PATCH] Update src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- .../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 30223a3b..97810d3b 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -4050,7 +4050,7 @@ export class BaileysStartupService extends ChannelStartupService { const authState = this.instance.authState as any; if (authState.store && authState.store.contacts) { // Atualizar contatos no store local - const contacts = authState.store.contacts; + const {contacts} = authState.store; if (contacts[lidJid]) { contacts[realJid] = contacts[lidJid]; delete contacts[lidJid];