Skip to content

Commit d39776a

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/whatsapp/services/whatsapp.service.ts

Lines changed: 3 additions & 3 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: ['Chrome (Linux)', '', ''],
1386+
browser: ['Chrome (Linux)', session.NAME, release()],
13871387
version,
13881388
markOnlineOnConnect: this.localSettings.always_online,
13891389
retryRequestDelayMs: 10,
@@ -1449,7 +1449,7 @@ 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');
1452+
const session = this.configService.get<ConfigSessionPhone>('CONFIG_SESSION_PHONE');
14531453
// const browser: WABrowserDescription = [session.CLIENT, session.NAME, release()];
14541454

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

0 commit comments

Comments
 (0)