From 06da059dbf7d92a5ef700b28325ffea261112f32 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 24 Aug 2024 20:53:58 +0100 Subject: [PATCH] log deletion of user files from admin -- fixes #631 --- .../server/api/endpoints/admin/delete-all-files-of-a-user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts b/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts index d8341b3ad7..747c9f48d0 100644 --- a/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts @@ -39,7 +39,7 @@ export default class extends Endpoint { // eslint- }); for (const file of files) { - this.driveService.deleteFile(file); + this.driveService.deleteFile(file, false, me); } }); }