From 31fe72a87f608f5a3b47792b62f090e5c7c15376 Mon Sep 17 00:00:00 2001 From: hoeppner-dataport Date: Tue, 21 Nov 2023 15:50:53 +0100 Subject: [PATCH] recursivce-delete-visitor: delete fiels of linkElement --- apps/server/src/modules/board/repo/recursive-delete.vistor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/src/modules/board/repo/recursive-delete.vistor.ts b/apps/server/src/modules/board/repo/recursive-delete.vistor.ts index 0a1b08e663a..6c8301f6b6f 100644 --- a/apps/server/src/modules/board/repo/recursive-delete.vistor.ts +++ b/apps/server/src/modules/board/repo/recursive-delete.vistor.ts @@ -49,6 +49,7 @@ export class RecursiveDeleteVisitor implements BoardCompositeVisitorAsync { } async visitLinkElementAsync(linkElement: LinkElement): Promise { + await this.filesStorageClientAdapterService.deleteFilesOfParent(linkElement.id); this.deleteNode(linkElement); await this.visitChildrenAsync(linkElement);