mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-03-21 20:18:40 -06:00
Remove unnecessary debug logs from sync function
Removed debug logging for messages, chats, and contacts.
This commit is contained in:
@@ -989,14 +989,6 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
progress?: number;
|
||||
syncType?: proto.HistorySync.HistorySyncType;
|
||||
}) => {
|
||||
//These logs are crucial; when something changes in Baileys/WhatsApp, we can more easily understand what changed!
|
||||
this.logger.debug('Messages abaixo');
|
||||
this.logger.debug(messages);
|
||||
this.logger.debug('Chats abaixo');
|
||||
this.logger.debug(chats);
|
||||
this.logger.debug('Contatos abaixo');
|
||||
this.logger.debug(contacts);
|
||||
|
||||
try {
|
||||
if (syncType === proto.HistorySync.HistorySyncType.ON_DEMAND) {
|
||||
console.log('received on-demand history sync, messages=', messages);
|
||||
|
||||
Reference in New Issue
Block a user