mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -06:00
fix: remove wildcard
This commit is contained in:
parent
abda9e2113
commit
3f8d89e970
@ -168,7 +168,7 @@ export class WAMonitoringService {
|
||||
|
||||
public async cleaningStoreData(instanceName: string) {
|
||||
if (this.configService.get<Chatwoot>('CHATWOOT').ENABLED) {
|
||||
const instancePath = join(STORE_DIR, 'chatwoot', `${instanceName}*`);
|
||||
const instancePath = join(STORE_DIR, 'chatwoot', instanceName);
|
||||
execFileSync('rm', ['-rf', instancePath]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user