lib/relaton_calconnect/hash_converter.rb in relaton-calconnect-1.7.0 vs lib/relaton_calconnect/hash_converter.rb in relaton-calconnect-1.7.2
- old
+ new
@@ -4,10 +4,10 @@
# @param ret [Hash]
def editorialgroup_hash_to_bib(ret)
return unless ret[:editorialgroup]
technical_committee = array(ret[:editorialgroup]).map do |wg|
- TechnicalCommittee.new RelatonBib::WorkGroup.new(wg)
+ TechnicalCommittee.new RelatonBib::WorkGroup.new(**wg)
end
ret[:editorialgroup] = RelatonBib::EditorialGroup.new technical_committee
end
end
end