Skip to content

Commit

Permalink
Merge pull request #780 from datacite/related_items_fix
Browse files Browse the repository at this point in the history
Temporarily remove related_items from the serializer
  • Loading branch information
digitaldogsbody authored Jan 25, 2022
2 parents 69f2b9e + 116f60e commit bd4674e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/serializers/datacite_doi_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class DataciteDoiSerializer
:language,
:types,
:related_identifiers,
:related_items,
# :related_items,
:sizes,
:formats,
:version,
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit bd4674e

Please sign in to comment.