mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 20:32:23 -06:00
fix: integration
This commit is contained in:
@@ -105,7 +105,6 @@ export class InstanceController {
|
||||
this.cache,
|
||||
this.chatwootCache,
|
||||
);
|
||||
await this.waMonitor.saveInstance({ integration, instanceName, token, number });
|
||||
} else {
|
||||
instance = new BaileysStartupService(
|
||||
this.configService,
|
||||
@@ -116,6 +115,8 @@ export class InstanceController {
|
||||
);
|
||||
}
|
||||
|
||||
await this.waMonitor.saveInstance({ integration, instanceName, token, number });
|
||||
|
||||
instance.instanceName = instanceName;
|
||||
|
||||
const instanceId = v4();
|
||||
|
||||
Reference in New Issue
Block a user