Skip to content

Commit

Permalink
#1405 Fix case status type
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jun 25, 2020
1 parent 825eb58 commit aaf64c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thehive/app/org/thp/thehive/controllers/v0/CaseCtrl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class CaseCtrl @Inject() (
caseSrv
.get(caseIdOrNumber)
.can(Permissions.manageCase)
.update("status" -> "deleted")
.update("status" -> CaseStatus.Deleted)
.map(_ => Results.NoContent)
}

Expand Down

0 comments on commit aaf64c0

Please sign in to comment.