Skip to content

Commit 21513f5

Browse files
Remove unnecessary debug logs from sync function
Removed debug logging for messages, chats, and contacts.
1 parent d6e8210 commit 21513f5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -989,14 +989,6 @@ export class BaileysStartupService extends ChannelStartupService {
989989
progress?: number;
990990
syncType?: proto.HistorySync.HistorySyncType;
991991
}) => {
992-
//These logs are crucial; when something changes in Baileys/WhatsApp, we can more easily understand what changed!
993-
this.logger.debug('Messages abaixo');
994-
this.logger.debug(messages);
995-
this.logger.debug('Chats abaixo');
996-
this.logger.debug(chats);
997-
this.logger.debug('Contatos abaixo');
998-
this.logger.debug(contacts);
999-
1000992
try {
1001993
if (syncType === proto.HistorySync.HistorySyncType.ON_DEMAND) {
1002994
console.log('received on-demand history sync, messages=', messages);

0 commit comments

Comments
 (0)