mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-26 15:17:44 -06:00
Added connection functionality via pairing code
This commit is contained in:
@@ -545,6 +545,11 @@ export class WAStartupService {
|
||||
return this.eventEmitter.emit('no.connection', this.instance.name);
|
||||
}
|
||||
|
||||
// pairing code
|
||||
// await delay(5000);
|
||||
// const code = await this.client.requestPairingCode('557499879409');
|
||||
// console.log(`Pairing code: ${code}`);
|
||||
|
||||
this.logger.verbose('Incrementing QR code count');
|
||||
this.instance.qrcode.count++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user