mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 17:08:44 -06:00
adjusts in redis
This commit is contained in:
parent
5d951a96b5
commit
a5477509bd
@ -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> {
|
||||||
|
Loading…
Reference in New Issue
Block a user