Skip to content

Commit

Permalink
Implementing review comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
svogt0511 committed Dec 4, 2023
1 parent cbce6af commit 580e305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/doi_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def citeproc_hsh
"volume" => object.container.to_h["volume"],
"issue" => object.container.to_h["issue"],
"page" => page,
"publisher" => object.publisher["name"] || object.publisher,
"publisher" => (object.publisher.is_a?(Hash) ? object.publisher&.fetch("name", nil) : object.publisher),
"title" => parse_attributes(object.titles, content: "title", first: true),
"URL" => object.url,
"version" => object.version_info,
Expand Down

0 comments on commit 580e305

Please sign in to comment.