adjusts in redis

This commit is contained in:
Davidson Gomes 2024-04-09 07:43:20 -03:00
parent 5d951a96b5
commit a5477509bd

View File

@ -634,16 +634,15 @@ export class BaileysStartupService extends WAStartupService {
} }
public async receiveMobileCode(code: string) { public async receiveMobileCode(code: string) {
console.log('code', code); await this.client
// await this.client .register(code.replace(/["']/g, '').trim().toLowerCase())
// .register(code.replace(/["']/g, '').trim().toLowerCase()) .then(async (response) => {
// .then(async (response) => { this.logger.verbose('Registration code received successfully');
// this.logger.verbose('Registration code received successfully'); console.log(response);
// console.log(response); })
// }) .catch((error) => {
// .catch((error) => { this.logger.error(error);
// this.logger.error(error); });
// });
} }
public async reloadConnection(): Promise<WASocket> { public async reloadConnection(): Promise<WASocket> {