diff --git a/src/core/engines/noweb/session.noweb.core.ts b/src/core/engines/noweb/session.noweb.core.ts index 006795fb..6726c7f9 100644 --- a/src/core/engines/noweb/session.noweb.core.ts +++ b/src/core/engines/noweb/session.noweb.core.ts @@ -195,9 +195,9 @@ export class WhatsappSessionNoWebCore extends WhatsappSession { ); } - start() { + async start() { this.status = WAHASessionStatus.STARTING; - this.buildClient(); + await this.buildClient(); } getSocketConfig(agent, state): any {