Skip to content

Commit

Permalink
fix duplicate deletion of trackables
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-coding committed Sep 25, 2024
1 parent 07ff488 commit 4edf0ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ abstract class TrackableService<T : Trackable, R : GropiusRepository<T, String>>
node.syncsTo().forEach {
imsProjectService.deleteIMSProject(it)
}
nodeRepository.deleteAll(labelsToDelete + imsProjectsToDelete + issuesToDelete + node.artefacts() + node)
nodeRepository.deleteAll(labelsToDelete + imsProjectsToDelete + issuesToDelete + node.artefacts())
.awaitSingleOrNull()
}

Expand Down

0 comments on commit 4edf0ba

Please sign in to comment.