From 848d42011b91315aac8c426d46c941e992e0d765 Mon Sep 17 00:00:00 2001 From: To-om Date: Fri, 26 Jun 2020 15:08:40 +0200 Subject: [PATCH] #1410 Rename case user to assignee (fix compilation error) --- thehive/app/org/thp/thehive/controllers/v1/Conversion.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala b/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala index 8fa023f4f8..c26cd4f43e 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala @@ -68,6 +68,7 @@ object Conversion { .withFieldComputed(_.customFields, _.customFields.map(_.toOutput).toSet) .withFieldComputed(_.tags, _.tags.map(_.toString).toSet) .withFieldComputed(_.status, _.status.toString) + .withFieldRenamed(_.user, _.assignee) .transform )