lib/bolognese/readers/datacite_reader.rb in bolognese-0.9.16 vs lib/bolognese/readers/datacite_reader.rb in bolognese-0.9.17

- old
+ new

@@ -41,10 +41,10 @@ end.unwrap keywords = Array.wrap(meta.dig("subjects", "subject")).map do |k| if k.is_a?(String) sanitize(k) else - k.fetch("__content__", nil) + k.to_h.fetch("__content__", nil) end end.compact.join(", ").presence dates = Array.wrap(meta.dig("dates", "date")) funder = begin f = datacite_funder_contributor(meta) + datacite_funding_reference(meta)