mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
ajustes
This commit is contained in:
parent
62c74deac3
commit
957033a7bb
@ -33,7 +33,6 @@ import makeWASocket, {
|
|||||||
WAMessageUpdate,
|
WAMessageUpdate,
|
||||||
WASocket,
|
WASocket,
|
||||||
} from '@whiskeysockets/baileys';
|
} from '@whiskeysockets/baileys';
|
||||||
import MAIN_LOGGER from '@whiskeysockets/baileys/lib/Utils/logger';
|
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { exec, execSync } from 'child_process';
|
import { exec, execSync } from 'child_process';
|
||||||
import { arrayUnique, isBase64, isURL } from 'class-validator';
|
import { arrayUnique, isBase64, isURL } from 'class-validator';
|
||||||
@ -132,8 +131,6 @@ import { ChatwootService } from './chatwoot.service';
|
|||||||
//import { SocksProxyAgent } from './socks-proxy-agent';
|
//import { SocksProxyAgent } from './socks-proxy-agent';
|
||||||
import { TypebotService } from './typebot.service';
|
import { TypebotService } from './typebot.service';
|
||||||
|
|
||||||
const logger = MAIN_LOGGER.child({});
|
|
||||||
|
|
||||||
export class WAStartupService {
|
export class WAStartupService {
|
||||||
constructor(
|
constructor(
|
||||||
private readonly configService: ConfigService,
|
private readonly configService: ConfigService,
|
||||||
@ -1545,7 +1542,7 @@ export class WAStartupService {
|
|||||||
'buffer',
|
'buffer',
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
logger: logger,
|
logger: P({ level: 'error' }) as any,
|
||||||
reuploadRequest: this.client.updateMediaMessage,
|
reuploadRequest: this.client.updateMediaMessage,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user