Comentário de console.log

adriano 2023-06-02 15:46:58 -03:00
parent 53d3b2b09e
commit e7eb700fb2
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ async function whatsappQueueMatchingUserQueue(userId: number, whatsapp: Whatsapp
if (!userQueues || userQueues && userQueues.length == 0) return if (!userQueues || userQueues && userQueues.length == 0) return
console.log('-----> userQueues: ', userQueues); // console.log('-----> userQueues: ', userQueues);
let whats: any = await ShowWhatsAppService(whatsapp.id); let whats: any = await ShowWhatsAppService(whatsapp.id);
@ -16,7 +16,7 @@ async function whatsappQueueMatchingUserQueue(userId: number, whatsapp: Whatsapp
const whatsappQueues = whats.queues.map((e: any) => e.dataValues.name); const whatsappQueues = whats.queues.map((e: any) => e.dataValues.name);
console.log('-----> whatsappQueues: ', whatsappQueues); // console.log('-----> whatsappQueues: ', whatsappQueues);
const matchingQueue = userQueues.find(queue => whatsappQueues.includes(queue.name)); const matchingQueue = userQueues.find(queue => whatsappQueues.includes(queue.name));