From d75163aa57f9e8bcf93c66f2324e1f3a99d42c47 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Fri, 1 Dec 2023 15:04:57 -0300 Subject: [PATCH] test: adjusts wasocket --- src/whatsapp/services/monitor.service.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 011758b0..45cd4a1f 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -277,7 +277,6 @@ export class WAMonitoringService { const instance = new WAStartupService(this.configService, this.eventEmitter, this.repository, this.cache); instance.instanceName = name; this.logger.verbose('Instance loaded: ' + name); - console.log('Instance loaded: ' + name); await instance.connectToWhatsapp(); this.logger.verbose('connectToWhatsapp: ' + name); @@ -304,7 +303,6 @@ export class WAMonitoringService { if (collections.length > 0) { this.logger.verbose('Reading collections and setting instances'); - console.log(collections); await Promise.all(collections.map((coll) => this.setInstance(coll.namespace.replace(/^[\w-]+\./, '')))); } else { this.logger.verbose('No collections found');