Skip to content

Commit 35641d0

Browse files
committed
fix: fixed the pairing code
1 parent 038cd6f commit 35641d0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Fixed chatwoot Bold, Italic and Underline formatting using Regex
1111
* Added the sign_delimiter property to the Chatwoot configuration, allowing you to set a different delimiter for the signature. Default when not defined \n
1212
* Include instance Id field in the instance configuration
13+
* Fixed the pairing code
1314

1415

1516
# 1.6.0 (2023-12-12 17:24)

src/whatsapp/services/whatsapp.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ export class WAStartupService {
13831383
},
13841384
logger: P({ level: this.logBaileys }),
13851385
printQRInTerminal: false,
1386-
browser,
1386+
browser: ['Chrome (Linux)', '', ''],
13871387
version,
13881388
markOnlineOnConnect: this.localSettings.always_online,
13891389
retryRequestDelayMs: 10,
@@ -1449,8 +1449,8 @@ export class WAStartupService {
14491449
this.instance.authState = await this.defineAuthState();
14501450

14511451
const { version } = await fetchLatestBaileysVersion();
1452-
const session = this.configService.get<ConfigSessionPhone>('CONFIG_SESSION_PHONE');
1453-
const browser: WABrowserDescription = [session.CLIENT, session.NAME, release()];
1452+
// const session = this.configService.get<ConfigSessionPhone>('CONFIG_SESSION_PHONE');
1453+
// const browser: WABrowserDescription = [session.CLIENT, session.NAME, release()];
14541454

14551455
let options;
14561456

@@ -1470,7 +1470,7 @@ export class WAStartupService {
14701470
},
14711471
logger: P({ level: this.logBaileys }),
14721472
printQRInTerminal: false,
1473-
browser,
1473+
browser: ['Chrome (Linux)', '', ''],
14741474
version,
14751475
markOnlineOnConnect: this.localSettings.always_online,
14761476
retryRequestDelayMs: 10,

0 commit comments

Comments
 (0)