From d9ffad7abb71dfe756a3a1ccc02634d498ffdfab Mon Sep 17 00:00:00 2001 From: To-om Date: Fri, 30 Dec 2016 12:08:58 +0100 Subject: [PATCH] #67 Fix silly error in date conversion field name --- thehive-backend/app/models/Migration.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thehive-backend/app/models/Migration.scala b/thehive-backend/app/models/Migration.scala index 49370eb681..a1917bae6e 100644 --- a/thehive-backend/app/models/Migration.scala +++ b/thehive-backend/app/models/Migration.scala @@ -64,8 +64,8 @@ class Migration @Inject() ( mapAttribute(Seq("case", "case_task", "case_artifact_job"), "endDate")(convertDate), mapAttribute("misp", "date")(convertDate), mapAttribute("misp", "publishDate")(convertDate), - mapAttribute(_ ⇒ true, "createdBy", convertDate), - mapAttribute(_ ⇒ true, "updatedBy", convertDate)) + mapAttribute(_ ⇒ true, "createdAt", convertDate), + mapAttribute(_ ⇒ true, "updatedAt", convertDate)) } private val requestCounter = new java.util.concurrent.atomic.AtomicInteger(0)