Skip to content

Commit

Permalink
Update for Schema 4.5 publisher as hash
Browse files Browse the repository at this point in the history
  • Loading branch information
codycooperross committed Jan 10, 2024
1 parent 41ffc7e commit 02583c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/orcid_client/work.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def title

# user publisher name as fallback
def container_title
metadata.container_title || metadata.publisher
metadata.container_title || metadata.publisher.present? ? metadata.publisher["name"] : nil
end

def publication_date
Expand Down

0 comments on commit 02583c2

Please sign in to comment.