Skip to content

Commit

Permalink
#856 Reopen case when the associated alert is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Feb 1, 2019
1 parent 5b9e509 commit 486f460
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thehive-backend/app/services/AlertSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ class AlertSrv(
caze caseSrv.get(caseId)
a updatedAlert
_ importArtifacts(a, caze)
_ caseSrv.update(caze, Fields.empty.set("status", CaseStatus.Open.toString))
} yield a
case _ updatedAlert
}
Expand Down

0 comments on commit 486f460

Please sign in to comment.