fix: remve console.log

This commit is contained in:
Davidson Gomes 2024-02-18 07:27:24 -03:00
parent ab89ef8db3
commit 16c2e28e9c
4 changed files with 1 additions and 8 deletions

View File

@ -518,7 +518,6 @@ export class TypebotService {
const wait = findItemAndGetSecondsToWait(clientSideActions, message.id);
console.log('wait', wait);
if (wait) {
await new Promise((resolve) => setTimeout(resolve, wait * 1000));
}
@ -618,7 +617,6 @@ export class TypebotService {
if (keyword_finish && content.toLowerCase() === keyword_finish.toLowerCase()) {
const newSessions = await this.clearSessions(instance, remoteJid);
console.log('keyword_finish', newSessions);
const typebotData = {
enabled: findTypebot.enabled,
url: url,

View File

@ -131,7 +131,6 @@ export class BaileysStartupService extends WAStartupService {
this.logger.verbose('BaileysStartupService initialized');
this.cleanStore();
this.instance.qrcode = { count: 0 };
console.log('BaileysStartupService initialized');
}
private readonly msgRetryCounterCache: CacheStore = new NodeCache();
@ -3125,6 +3124,6 @@ export class BaileysStartupService extends WAStartupService {
}
}
public async templateMessage() {
console.log('templateMessage');
throw new Error('Method not available in the Baileys service');
}
}

View File

@ -38,7 +38,6 @@ export class BusinessStartupService extends WAStartupService {
super(configService, eventEmitter, repository, chatwootCache);
this.logger.verbose('BusinessStartupService initialized');
this.cleanStore();
console.log('BusinessStartupService initialized');
}
public stateConnection: wa.StateConnection = { state: 'open' };
@ -694,8 +693,6 @@ export class BusinessStartupService extends WAStartupService {
}
})();
console.log(messageSent);
const messageRaw: MessageRaw = {
key: { fromMe: true, id: messageSent?.messages[0]?.id, remoteJid: this.createJid(number) },
//pushName: messageSent.pushName,

View File

@ -46,7 +46,6 @@ export class WAStartupService {
public readonly chatwootCache: CacheService,
) {
this.logger.verbose('WAStartupService initialized');
console.log('WAStartupService initialized');
}
public readonly logger = new Logger(WAStartupService.name);