[core] log phone

This commit is contained in:
allburov committed 2023-12-26 17:54:34 +07:00
1 parent a892f03382
commit 3fbe526793
1 file changed
+1 -1
+1 -1
View File
@@ -279,7 +279,7 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
throw new UnprocessableEntityException(err);
}
this.log.log('Requesting pairing code...');
this.log.log(`Requesting pairing code for '${phoneNumber}'...`);
const code: string = await this.sock.requestPairingCode(phoneNumber);
// show it as ABCD-ABCD
const parts = splitAt(code, 4);