Skip to content

Commit 16c2e28

Browse files
committed
fix: remve console.log
1 parent ab89ef8 commit 16c2e28

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

src/whatsapp/services/typebot.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@ export class TypebotService {
518518

519519
const wait = findItemAndGetSecondsToWait(clientSideActions, message.id);
520520

521-
console.log('wait', wait);
522521
if (wait) {
523522
await new Promise((resolve) => setTimeout(resolve, wait * 1000));
524523
}
@@ -618,7 +617,6 @@ export class TypebotService {
618617
if (keyword_finish && content.toLowerCase() === keyword_finish.toLowerCase()) {
619618
const newSessions = await this.clearSessions(instance, remoteJid);
620619

621-
console.log('keyword_finish', newSessions);
622620
const typebotData = {
623621
enabled: findTypebot.enabled,
624622
url: url,

src/whatsapp/services/whatsapp.baileys.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ export class BaileysStartupService extends WAStartupService {
131131
this.logger.verbose('BaileysStartupService initialized');
132132
this.cleanStore();
133133
this.instance.qrcode = { count: 0 };
134-
console.log('BaileysStartupService initialized');
135134
}
136135

137136
private readonly msgRetryCounterCache: CacheStore = new NodeCache();
@@ -3125,6 +3124,6 @@ export class BaileysStartupService extends WAStartupService {
31253124
}
31263125
}
31273126
public async templateMessage() {
3128-
console.log('templateMessage');
3127+
throw new Error('Method not available in the Baileys service');
31293128
}
31303129
}

src/whatsapp/services/whatsapp.business.service.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export class BusinessStartupService extends WAStartupService {
3838
super(configService, eventEmitter, repository, chatwootCache);
3939
this.logger.verbose('BusinessStartupService initialized');
4040
this.cleanStore();
41-
console.log('BusinessStartupService initialized');
4241
}
4342

4443
public stateConnection: wa.StateConnection = { state: 'open' };
@@ -694,8 +693,6 @@ export class BusinessStartupService extends WAStartupService {
694693
}
695694
})();
696695

697-
console.log(messageSent);
698-
699696
const messageRaw: MessageRaw = {
700697
key: { fromMe: true, id: messageSent?.messages[0]?.id, remoteJid: this.createJid(number) },
701698
//pushName: messageSent.pushName,

src/whatsapp/services/whatsapp.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export class WAStartupService {
4646
public readonly chatwootCache: CacheService,
4747
) {
4848
this.logger.verbose('WAStartupService initialized');
49-
console.log('WAStartupService initialized');
5049
}
5150

5251
public readonly logger = new Logger(WAStartupService.name);

0 commit comments

Comments
 (0)