From 2bf9fce1c5a4a7380dd8df23dcfb52ff1ad4fd36 Mon Sep 17 00:00:00 2001 From: To-om Date: Thu, 25 Mar 2021 17:53:43 +0100 Subject: [PATCH] #1875 Fix compilation error --- thehive/app/org/thp/thehive/controllers/v0/Conversion.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thehive/app/org/thp/thehive/controllers/v0/Conversion.scala b/thehive/app/org/thp/thehive/controllers/v0/Conversion.scala index c43f3c45fe..0a5bb393ef 100644 --- a/thehive/app/org/thp/thehive/controllers/v0/Conversion.scala +++ b/thehive/app/org/thp/thehive/controllers/v0/Conversion.scala @@ -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 ) @@ -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 }