This commit is contained in:
Nameless 2021-11-03 15:16:11 +00:00
parent f771c17f34
commit 90b124c2ab
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ class Util {
if (!file) continue;
await this.deleteFile(file.name, false);
await this.deleteFile(file.name, true);
}
} catch (error) {
log.error(error);
@ -203,7 +203,7 @@ class Util {
await db.table('files').whereIn('id', fileIds).delete(); // Delete file references
for (const file of files) {
// Delete file from storage
await this.deleteFile(file.name, true);
await this.deleteFile(file.name, false);
}
} catch (error) {
log.error(error);