fix: Correction of variables breaking lines in typebot

This commit is contained in:
Davidson Gomes
2024-06-08 13:41:44 -03:00
parent de89f03f13
commit be65b93d59
5 changed files with 117 additions and 121 deletions

View File

@@ -199,6 +199,8 @@ export class WAMonitoringService {
if (!instance) this.logger.error('Instance not found');
rmSync(join(INSTANCE_DIR, instance.id), { recursive: true, force: true });
await this.prismaRepository.session.deleteMany({ where: { sessionId: instance.id } });
return;
}