File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
api/integrations/chatbot/chatwoot/services Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments