From 0a45b8f6882b5edd814f3410b3b1319b9673f9b0 Mon Sep 17 00:00:00 2001 From: To-om Date: Thu, 4 Mar 2021 07:37:16 +0100 Subject: [PATCH] #1670 Fix typo in tag type --- thehive/app/org/thp/thehive/controllers/v1/Conversion.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala b/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala index 3a3d21270c..52b80a53fa 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/Conversion.scala @@ -309,7 +309,7 @@ object Conversion { .withFieldConst(_._updatedBy, tag._updatedBy) .withFieldConst(_._createdAt, tag._createdAt) .withFieldConst(_._createdBy, tag._createdBy) - .withFieldConst(_._type, "Profile") + .withFieldConst(_._type, "Tag") .withFieldComputed(_.namespace, t => if (t.isFreeTag) "_freetags_" else t.namespace) .transform )