mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
fix: adjusts in fetch instances
This commit is contained in:
parent
d4372a0332
commit
df841aed27
@ -108,10 +108,14 @@ export class WAMonitoringService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const findIntegration = await this.waInstances[key].findIntegration();
|
const findIntegration = await this.waInstances[key].findIntegration();
|
||||||
const integration = {
|
|
||||||
...findIntegration,
|
let integration: any;
|
||||||
webhook_wa_business: `${urlServer}/webhook/whatsapp/${encodeURIComponent(key)}`,
|
if (findIntegration) {
|
||||||
};
|
integration = {
|
||||||
|
...findIntegration,
|
||||||
|
webhook_wa_business: `${urlServer}/webhook/whatsapp/${encodeURIComponent(key)}`,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
if (value.connectionStatus.state === 'open') {
|
if (value.connectionStatus.state === 'open') {
|
||||||
this.logger.verbose('instance: ' + key + ' - connectionStatus: open');
|
this.logger.verbose('instance: ' + key + ' - connectionStatus: open');
|
||||||
|
Loading…
Reference in New Issue
Block a user