From bc371b753b838ef2d453b5b8e25ba80f42db9ba2 Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Tue, 25 Jan 2022 14:14:05 +0000 Subject: [PATCH] temporarily remove related_items from the serializer --- app/serializers/datacite_doi_serializer.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/serializers/datacite_doi_serializer.rb b/app/serializers/datacite_doi_serializer.rb index 906d8d73e..bcad91b05 100644 --- a/app/serializers/datacite_doi_serializer.rb +++ b/app/serializers/datacite_doi_serializer.rb @@ -24,7 +24,7 @@ class DataciteDoiSerializer :language, :types, :related_identifiers, - :related_items, + # :related_items, :sizes, :formats, :version, @@ -191,9 +191,9 @@ class DataciteDoiSerializer Array.wrap(object.related_identifiers) end - attribute :related_items do |object| - Array.wrap(object.related_items) - end + # attribute :related_items do |object| + # Array.wrap(object.related_items) + # end attribute :geo_locations, if: