Skip to content

Commit

Permalink
fix(all): Fix answers with dialog id working again.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jul 25, 2023
1 parent a24648c commit f34c7b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/whatsapp.gblib/services/WhatsappDirectLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ export class WhatsappDirectLine extends GBService {
public async check() {
switch (this.provider) {
case 'GeneralBots':
const state = this.customClient.getState();
GBLog.info(`GBWhatsapp: Status: ${state}`);
const state = await this.customClient.getState();
return state === 'CONNECTED';

default:
Expand Down

0 comments on commit f34c7b1

Please sign in to comment.