This commit is contained in:
Davidson Gomes 2023-10-09 19:57:26 -03:00
parent 62c74deac3
commit 957033a7bb

View File

@ -33,7 +33,6 @@ import makeWASocket, {
WAMessageUpdate,
WASocket,
} from '@whiskeysockets/baileys';
import MAIN_LOGGER from '@whiskeysockets/baileys/lib/Utils/logger';
import axios from 'axios';
import { exec, execSync } from 'child_process';
import { arrayUnique, isBase64, isURL } from 'class-validator';
@ -132,8 +131,6 @@ import { ChatwootService } from './chatwoot.service';
//import { SocksProxyAgent } from './socks-proxy-agent';
import { TypebotService } from './typebot.service';
const logger = MAIN_LOGGER.child({});
export class WAStartupService {
constructor(
private readonly configService: ConfigService,
@ -1545,7 +1542,7 @@ export class WAStartupService {
'buffer',
{},
{
logger: logger,
logger: P({ level: 'error' }) as any,
reuploadRequest: this.client.updateMediaMessage,
},
);