fix: fixed the pairing code

This commit is contained in:
Davidson Gomes
2023-12-18 15:24:19 -03:00
parent 038cd6f149
commit 35641d0543
2 changed files with 5 additions and 4 deletions

View File

@@ -1383,7 +1383,7 @@ export class WAStartupService {
},
logger: P({ level: this.logBaileys }),
printQRInTerminal: false,
browser,
browser: ['Chrome (Linux)', '', ''],
version,
markOnlineOnConnect: this.localSettings.always_online,
retryRequestDelayMs: 10,
@@ -1449,8 +1449,8 @@ export class WAStartupService {
this.instance.authState = await this.defineAuthState();
const { version } = await fetchLatestBaileysVersion();
const session = this.configService.get<ConfigSessionPhone>('CONFIG_SESSION_PHONE');
const browser: WABrowserDescription = [session.CLIENT, session.NAME, release()];
// const session = this.configService.get<ConfigSessionPhone>('CONFIG_SESSION_PHONE');
// const browser: WABrowserDescription = [session.CLIENT, session.NAME, release()];
let options;
@@ -1470,7 +1470,7 @@ export class WAStartupService {
},
logger: P({ level: this.logBaileys }),
printQRInTerminal: false,
browser,
browser: ['Chrome (Linux)', '', ''],
version,
markOnlineOnConnect: this.localSettings.always_online,
retryRequestDelayMs: 10,