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() {
|
public async check() {
|
||||||
switch (this.provider) {
|
switch (this.provider) {
|
||||||
case 'GeneralBots':
|
case 'GeneralBots':
|
||||||
const state = this.customClient.getState();
|
const state = await this.customClient.getState();
|
||||||
GBLog.info(`GBWhatsapp: Status: ${state}`);
|
|
||||||
return state === 'CONNECTED';
|
return state === 'CONNECTED';
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Reference in a new issue