From 1a959c51511ab38c566878a046fbf7bc6bf6fbfd Mon Sep 17 00:00:00 2001 From: Uwe Ilgenstein Date: Thu, 13 Jun 2024 17:13:21 +0200 Subject: [PATCH] add missing else --- .../board/service/internal/board-node-delete-hooks.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/server/src/modules/board/service/internal/board-node-delete-hooks.service.ts b/apps/server/src/modules/board/service/internal/board-node-delete-hooks.service.ts index cdb1805abf6..bb10e6e579e 100644 --- a/apps/server/src/modules/board/service/internal/board-node-delete-hooks.service.ts +++ b/apps/server/src/modules/board/service/internal/board-node-delete-hooks.service.ts @@ -49,6 +49,8 @@ export class BoardNodeDeleteHooksService { await this.afterDeleteCollaborativeTextEditorElement(boardNode); } else if (isMediaExternalToolElement(boardNode)) { await this.afterDeleteMediaExternalToolElement(boardNode); + } else { + // noop } await Promise.allSettled(boardNode.children.map(async (child) => this.afterDelete(child))); }