We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f40d5 commit 14529f2Copy full SHA for 14529f2
CHANGELOG.md
@@ -4,6 +4,7 @@
4
5
* Fixed chatwoot line wrap issue
6
* Solved receive location in chatwoot
7
+* When requesting the pairing code, it also brings the qr code
8
9
# 1.4.3 (2023-07-25 10:51)
10
src/whatsapp/services/whatsapp.service.ts
@@ -242,13 +242,9 @@ export class WAStartupService {
242
243
public get qrCode(): wa.QrCode {
244
this.logger.verbose('Getting qrcode');
245
- if (this.instance.qrcode?.pairingCode) {
246
- return {
247
- pairingCode: this.instance.qrcode?.pairingCode,
248
- };
249
- }
250
251
return {
+ pairingCode: this.instance.qrcode?.pairingCode,
252
code: this.instance.qrcode?.code,
253
base64: this.instance.qrcode?.base64,
254
};
0 commit comments