Skip to content

Commit

Permalink
#1875 Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Mar 25, 2021
1 parent c2f8b23 commit 2bf9fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thehive/app/org/thp/thehive/controllers/v0/Conversion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ object Conversion {
.withFieldComputed(_.owner, _._createdBy)
.withFieldConst(_.status, "Ok")
.withFieldComputed(_.attachment, _.attachments.headOption.map(_.toValue))
.withFieldConst(_.task, None)
.withFieldConst(_.case_task, None)
.transform
)

Expand All @@ -348,7 +348,7 @@ object Conversion {
.withFieldComputed(_.owner, _._createdBy)
.withFieldConst(_.status, "Ok")
.withFieldComputed(_.attachment, _.attachments.headOption.map(_.toValue))
.withFieldConst(_.task, Some(richTask.toValue))
.withFieldConst(_.case_task, Some(richTask.toValue))
.transform
}

Expand Down

0 comments on commit 2bf9fce

Please sign in to comment.