new(whatsapp.gblib): Multiple providers can be loaded at once.
This commit is contained in:
parent
4f93b626d1
commit
423cf368ca
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ export class GBMinService {
|
||||||
GBLog.info(`A WhatsApp mobile requested instance for: ${botId}.`);
|
GBLog.info(`A WhatsApp mobile requested instance for: ${botId}.`);
|
||||||
|
|
||||||
let urlMin: any = GBServer.globals.minInstances.filter
|
let urlMin: any = GBServer.globals.minInstances.filter
|
||||||
(p => p.instance.botId === botId);
|
(p => p.instance.botId === botId)[0];
|
||||||
|
|
||||||
const botNumber = urlMin.core.getParam(urlMin.instance, 'Bot Number', null);
|
const botNumber = urlMin.core.getParam(urlMin.instance, 'Bot Number', null);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue