new(whatsapp.gblib): Multiple providers can be loaded at once.

This commit is contained in:
Rodrigo Rodriguez 2022-07-07 12:29:12 -03:00
parent 50f395d6b1
commit 2eb9057473

View file

@ -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) {