Skip to content

Commit

Permalink
nesting affiliation metadata in array
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src committed Feb 2, 2024
1 parent bb4ad90 commit 1e266c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/tasks/doi_create_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def parse_people(work, person_field)
if !affil.blank?
# expanded_affils = DepartmentsService.term(affil)
# person[:affiliation] = expanded_affils.split('; ') unless expanded_affils.nil?
person[:affiliation] = unc_affiliation_metadata
person[:affiliation] = [unc_affiliation_metadata]
elsif !other_affil.blank?
person[:affiliation] = [other_affil]
end
Expand Down

0 comments on commit 1e266c9

Please sign in to comment.