mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
fix: remve console.log
This commit is contained in:
parent
ab89ef8db3
commit
16c2e28e9c
@ -518,7 +518,6 @@ export class TypebotService {
|
|||||||
|
|
||||||
const wait = findItemAndGetSecondsToWait(clientSideActions, message.id);
|
const wait = findItemAndGetSecondsToWait(clientSideActions, message.id);
|
||||||
|
|
||||||
console.log('wait', wait);
|
|
||||||
if (wait) {
|
if (wait) {
|
||||||
await new Promise((resolve) => setTimeout(resolve, wait * 1000));
|
await new Promise((resolve) => setTimeout(resolve, wait * 1000));
|
||||||
}
|
}
|
||||||
@ -618,7 +617,6 @@ export class TypebotService {
|
|||||||
if (keyword_finish && content.toLowerCase() === keyword_finish.toLowerCase()) {
|
if (keyword_finish && content.toLowerCase() === keyword_finish.toLowerCase()) {
|
||||||
const newSessions = await this.clearSessions(instance, remoteJid);
|
const newSessions = await this.clearSessions(instance, remoteJid);
|
||||||
|
|
||||||
console.log('keyword_finish', newSessions);
|
|
||||||
const typebotData = {
|
const typebotData = {
|
||||||
enabled: findTypebot.enabled,
|
enabled: findTypebot.enabled,
|
||||||
url: url,
|
url: url,
|
||||||
|
@ -131,7 +131,6 @@ export class BaileysStartupService extends WAStartupService {
|
|||||||
this.logger.verbose('BaileysStartupService initialized');
|
this.logger.verbose('BaileysStartupService initialized');
|
||||||
this.cleanStore();
|
this.cleanStore();
|
||||||
this.instance.qrcode = { count: 0 };
|
this.instance.qrcode = { count: 0 };
|
||||||
console.log('BaileysStartupService initialized');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private readonly msgRetryCounterCache: CacheStore = new NodeCache();
|
private readonly msgRetryCounterCache: CacheStore = new NodeCache();
|
||||||
@ -3125,6 +3124,6 @@ export class BaileysStartupService extends WAStartupService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
public async templateMessage() {
|
public async templateMessage() {
|
||||||
console.log('templateMessage');
|
throw new Error('Method not available in the Baileys service');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,6 @@ export class BusinessStartupService extends WAStartupService {
|
|||||||
super(configService, eventEmitter, repository, chatwootCache);
|
super(configService, eventEmitter, repository, chatwootCache);
|
||||||
this.logger.verbose('BusinessStartupService initialized');
|
this.logger.verbose('BusinessStartupService initialized');
|
||||||
this.cleanStore();
|
this.cleanStore();
|
||||||
console.log('BusinessStartupService initialized');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public stateConnection: wa.StateConnection = { state: 'open' };
|
public stateConnection: wa.StateConnection = { state: 'open' };
|
||||||
@ -694,8 +693,6 @@ export class BusinessStartupService extends WAStartupService {
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
console.log(messageSent);
|
|
||||||
|
|
||||||
const messageRaw: MessageRaw = {
|
const messageRaw: MessageRaw = {
|
||||||
key: { fromMe: true, id: messageSent?.messages[0]?.id, remoteJid: this.createJid(number) },
|
key: { fromMe: true, id: messageSent?.messages[0]?.id, remoteJid: this.createJid(number) },
|
||||||
//pushName: messageSent.pushName,
|
//pushName: messageSent.pushName,
|
||||||
|
@ -46,7 +46,6 @@ export class WAStartupService {
|
|||||||
public readonly chatwootCache: CacheService,
|
public readonly chatwootCache: CacheService,
|
||||||
) {
|
) {
|
||||||
this.logger.verbose('WAStartupService initialized');
|
this.logger.verbose('WAStartupService initialized');
|
||||||
console.log('WAStartupService initialized');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public readonly logger = new Logger(WAStartupService.name);
|
public readonly logger = new Logger(WAStartupService.name);
|
||||||
|
Loading…
Reference in New Issue
Block a user