diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 9b92127d..a6b9a3ef 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -87,7 +87,7 @@ export class WhatsappDirectLine extends GBService { this.whatsappServiceKey = whatsappServiceKey; this.whatsappServiceNumber = whatsappServiceNumber; this.whatsappServiceUrl = whatsappServiceUrl; - this.chatapi = whatsappServiceNumber.indexOf(';') > -1 ? true : false; + this.chatapi = whatsappServiceNumber.indexOf(';') > -1 ? false : true; } public static async asyncForEach(array, callback) {