We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abda9e2 commit 3f8d89eCopy full SHA for 3f8d89e
1 file changed
src/api/services/monitor.service.ts
@@ -168,7 +168,7 @@ export class WAMonitoringService {
168
169
public async cleaningStoreData(instanceName: string) {
170
if (this.configService.get<Chatwoot>('CHATWOOT').ENABLED) {
171
- const instancePath = join(STORE_DIR, 'chatwoot', `${instanceName}*`);
+ const instancePath = join(STORE_DIR, 'chatwoot', instanceName);
172
execFileSync('rm', ['-rf', instancePath]);
173
}
174
0 commit comments