fix(all): Fix answers with dialog id working again.
This commit is contained in:
parent
a24648cc9f
commit
f34c7b1ac5
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue