diff --git a/app/serializers/datacite_doi_serializer.rb b/app/serializers/datacite_doi_serializer.rb index d3414694a..2306c6017 100644 --- a/app/serializers/datacite_doi_serializer.rb +++ b/app/serializers/datacite_doi_serializer.rb @@ -144,6 +144,7 @@ class DataciteDoiSerializer Array.wrap(c["affiliation"]).map do |a| params[:affiliation] ? a : a["name"] end.compact + c["nameIdentifiers"] = Array.wrap(c["nameIdentifiers"]) c end.compact end