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];