lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_responsibleParty.rb in adiwg-mdtranslator-1.4.0.beta8 vs lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_responsibleParty.rb in adiwg-mdtranslator-1.4.0.beta9

- old
+ new

@@ -6,10 +6,10 @@ module MdJson module ResponsibleParty def self.build(intObj) Jbuilder.new do |json| json.contactId intObj[:contactId] - json.role intObj[:roleName] + json.role intObj[:roleName] || MdJson.getContact(intObj[:contactId])[:primaryRole] end end end end end