Skip to content

Commit

Permalink
#118 Close tasks of merged cases
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Feb 23, 2017
1 parent a40449c commit 27e94ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thehive-backend/app/services/CaseMergeSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ class CaseMergeSrv @Inject() (
_ mergeTasksAndLogs(newCase, cases)
_ mergeArtifactsAndJobs(newCase, cases)
_ markCaseAsDuplicated(cases, newCase)
_ Future.traverse(cases)(caze taskSrv.closeTasksOfCase(caze.id))
} yield newCase
}
}

0 comments on commit 27e94ff

Please sign in to comment.