File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ import makeWASocket, {
3333 WAMessageUpdate ,
3434 WASocket ,
3535} from '@whiskeysockets/baileys' ;
36- import MAIN_LOGGER from '@whiskeysockets/baileys/lib/Utils/logger' ;
3736import axios from 'axios' ;
3837import { exec , execSync } from 'child_process' ;
3938import { arrayUnique , isBase64 , isURL } from 'class-validator' ;
@@ -132,8 +131,6 @@ import { ChatwootService } from './chatwoot.service';
132131//import { SocksProxyAgent } from './socks-proxy-agent';
133132import { TypebotService } from './typebot.service' ;
134133
135- const logger = MAIN_LOGGER . child ( { } ) ;
136-
137134export class WAStartupService {
138135 constructor (
139136 private readonly configService : ConfigService ,
@@ -1545,7 +1542,7 @@ export class WAStartupService {
15451542 'buffer' ,
15461543 { } ,
15471544 {
1548- logger : logger ,
1545+ logger : P ( { level : 'error' } ) as any ,
15491546 reuploadRequest : this . client . updateMediaMessage ,
15501547 } ,
15511548 ) ;
You can’t perform that action at this time.
0 commit comments