lib/bolognese/readers/datacite_reader.rb in bolognese-1.0.26 vs lib/bolognese/readers/datacite_reader.rb in bolognese-1.0.27

- old
+ new

@@ -192,11 +192,11 @@ "types" => types, "doi" => doi, "alternate_identifiers" => alternate_identifiers, "url" => options.fetch(:url, nil).to_s.strip.presence, "titles" => titles, - "creator" => get_authors(Array.wrap(meta.dig("creators", "creator"))), - "contributor" => get_authors(Array.wrap(meta.dig("contributors", "contributor"))), + "creators" => get_authors(Array.wrap(meta.dig("creators", "creator"))), + "contributors" => get_authors(Array.wrap(meta.dig("contributors", "contributor"))), "periodical" => periodical, "publisher" => parse_attributes(meta.fetch("publisher", nil), first: true).to_s.strip.presence, "agency" => "DataCite", "funding_references" => funding_references, "dates" => dates,