mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 03:42:23 -06:00
refactor: integration folders
This commit is contained in:
@@ -207,6 +207,14 @@ export class WAMonitoringService {
|
||||
}
|
||||
}
|
||||
|
||||
public deleteInstance(instanceName: string) {
|
||||
try {
|
||||
this.eventEmitter.emit('remove.instance', instanceName, 'inner');
|
||||
} catch (error) {
|
||||
this.logger.error(error);
|
||||
}
|
||||
}
|
||||
|
||||
private async setInstance(instanceData: InstanceDto) {
|
||||
const instance = channelController.init(instanceData, {
|
||||
configService: this.configService,
|
||||
|
||||
Reference in New Issue
Block a user