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

@ -10,6 +10,7 @@
* Fixed chatwoot Bold, Italic and Underline formatting using Regex * Fixed chatwoot Bold, Italic and Underline formatting using Regex
* Added the sign_delimiter property to the Chatwoot configuration, allowing you to set a different delimiter for the signature. Default when not defined \n * Added the sign_delimiter property to the Chatwoot configuration, allowing you to set a different delimiter for the signature. Default when not defined \n
* Include instance Id field in the instance configuration * Include instance Id field in the instance configuration
* Fixed the pairing code
# 1.6.0 (2023-12-12 17:24) # 1.6.0 (2023-12-12 17:24)

View File

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