From 4edf0ba0a49facd11360477862d5f1d62c4e77f6 Mon Sep 17 00:00:00 2001 From: nk-coding Date: Wed, 25 Sep 2024 07:45:56 +0200 Subject: [PATCH] fix duplicate deletion of trackables --- .../kotlin/gropius/service/architecture/TrackableService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/gropius/service/architecture/TrackableService.kt b/core/src/main/kotlin/gropius/service/architecture/TrackableService.kt index d4d5aa3d..634569ff 100644 --- a/core/src/main/kotlin/gropius/service/architecture/TrackableService.kt +++ b/core/src/main/kotlin/gropius/service/architecture/TrackableService.kt @@ -83,7 +83,7 @@ abstract class TrackableService> node.syncsTo().forEach { imsProjectService.deleteIMSProject(it) } - nodeRepository.deleteAll(labelsToDelete + imsProjectsToDelete + issuesToDelete + node.artefacts() + node) + nodeRepository.deleteAll(labelsToDelete + imsProjectsToDelete + issuesToDelete + node.artefacts()) .awaitSingleOrNull() }