diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 43dd2bb5..9b92127d 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 ? true : false; } public static async asyncForEach(array, callback) {