Skip to content

Commit 582166e

Browse files
committed
fix(lint): lint
1 parent e1ae03c commit 582166e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ export class ChatwootService {
573573
const isLid = body.key.addressingMode === 'lid';
574574
const isGroup = body.key.remoteJid.endsWith('@g.us');
575575
const phoneNumber = isLid && !isGroup ? body.key.remoteJidAlt : body.key.remoteJid;
576-
const {remoteJid} = body.key;
576+
const { remoteJid } = body.key;
577577
const cacheKey = `${instance.instanceName}:createConversation-${remoteJid}`;
578578
const lockKey = `${instance.instanceName}:lock:createConversation-${remoteJid}`;
579579
const maxWaitTime = 5000; // 5 seconds

src/utils/onWhatsappCache.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,9 @@ export async function saveOnWhatsappCache(data: ISaveOnWhatsappCacheParams[]) {
108108

109109
// TODO: Se tiver remoteJidAlt com @lid novo, adicionar
110110
if (altJid && !finalJidOptions.includes(altJid)) {
111-
finalJidOptions.push(altJid);
111+
finalJidOptions.push(altJid);
112112
}
113113

114-
115114
const uniqueNumbers = Array.from(new Set(finalJidOptions));
116115

117116
logger.verbose(

0 commit comments

Comments
 (0)