From 58b5561f72e20a729733b66b406b68899f4d7fd8 Mon Sep 17 00:00:00 2001 From: Vitor Manoel Santos Moura <72520858+Vitordotpy@users.noreply.github.com> Date: Thu, 25 Sep 2025 17:30:30 -0300 Subject: [PATCH] Update src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit aplicação de desestruturação de objetos que é uma boa prática do ts Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- .../integrations/chatbot/chatwoot/services/chatwoot.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts index bca90082..e44ea86e 100644 --- a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts +++ b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts @@ -916,7 +916,7 @@ export class ChatwootService { return null; } - const remoteJid = bodyForRetry.key.remoteJid; + const {remoteJid} = bodyForRetry.key; const cacheKey = `${instance.instanceName}:createConversation-${remoteJid}`; await this.cache.delete(cacheKey);