From 8697329f7197a41be3898b2bfe4d9c9be06792aa 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:43 -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 e44ea86e..058ccd7b 100644 --- a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts +++ b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts @@ -1098,7 +1098,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);