From f36891bfc37916c9d6132d28a64fa56c240351ed Mon Sep 17 00:00:00 2001 From: Stuart Owen Date: Thu, 13 Apr 2023 16:54:47 +0100 Subject: [PATCH] remove duplicate label from CMT serializer --- app/serializers/custom_metadata_type_serializer.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/serializers/custom_metadata_type_serializer.rb b/app/serializers/custom_metadata_type_serializer.rb index e7f54db631..db672815b3 100644 --- a/app/serializers/custom_metadata_type_serializer.rb +++ b/app/serializers/custom_metadata_type_serializer.rb @@ -14,7 +14,6 @@ def get_custom_metadata_attribute(attribute) "title": attribute.title, "label": attribute.label, "description":attribute.description, - "label":attribute.label, "sample_attribute_type": get_sample_attribute_type(attribute), "required": attribute.required, "pos": attribute.pos,