From a737fed5cb617192fe7e8d204daf39069bc0d302 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Wed, 26 Jun 2024 16:13:21 -0300 Subject: [PATCH] chore: Updated WhatsApp baileys service Modified the WhatsApp baileys service to improve the overall functionality. This change aims to enhance the user experience and maintain code quality. Please note that only the 'src/api/services/channels/whatsapp.baileys.service.ts' file has been modified. --- src/api/services/channels/whatsapp.baileys.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/services/channels/whatsapp.baileys.service.ts b/src/api/services/channels/whatsapp.baileys.service.ts index b5ea5d3c..582f5051 100644 --- a/src/api/services/channels/whatsapp.baileys.service.ts +++ b/src/api/services/channels/whatsapp.baileys.service.ts @@ -3172,7 +3172,7 @@ export class BaileysStartupService extends ChannelStartupService { if (!isJidGroup(groupJid)) return null; if (await groupMetadataCache.has(groupJid)) { - this.logger.verbose(`Cache request for group: ${groupJid}`); + console.log(`Cache request for group: ${groupJid}`); const meta = await groupMetadataCache.get(groupJid); if (Date.now() - meta.timestamp > 3600000) { @@ -3182,7 +3182,7 @@ export class BaileysStartupService extends ChannelStartupService { return meta.data; } - this.logger.verbose(`Cache request for group: ${groupJid} - not found`); + console.log(`Cache request for group: ${groupJid} - not found`); return await this.updateGroupMetadataCache(groupJid); }