Update src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts

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>
This commit is contained in:
Vitor Manoel Santos Moura 2025-09-25 17:30:43 -03:00 committed by GitHub
parent 58b5561f72
commit 8697329f71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);