Skip to content

Commit 3f8d89e

Browse files
fix: remove wildcard
1 parent abda9e2 commit 3f8d89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/services/monitor.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class WAMonitoringService {
168168

169169
public async cleaningStoreData(instanceName: string) {
170170
if (this.configService.get<Chatwoot>('CHATWOOT').ENABLED) {
171-
const instancePath = join(STORE_DIR, 'chatwoot', `${instanceName}*`);
171+
const instancePath = join(STORE_DIR, 'chatwoot', instanceName);
172172
execFileSync('rm', ['-rf', instancePath]);
173173
}
174174

0 commit comments

Comments
 (0)