Commit 948d9677 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette

fix: Comm/Coll logo on initialization

parent 7eb337da
......@@ -15,7 +15,7 @@ module Dspace
@handle = args['handle']
@type = args['type']
@link = args['link']
@logo = args['logo']
@logo = Dspace::Bitstream.new(args['logo']) unless args['logo'].nil?
@license = args['license']
@copyright_text = args['copyrightText'] || args['copyright_text']
@introductory_text = args['introductoryText'] || args['introductory_text']
......
......@@ -13,7 +13,7 @@ module Dspace
@handle = args['handle']
@type = args['type']
@link = args['link']
@logo = args['logo']
@logo = Dspace::Bitstream.new(args['logo']) unless args['logo'].nil?
@parent_community = Dspace::Community.new(args['parentCommunity']) unless args['parentCommunity'].nil?
@copyright_text = args['copyrightText'] || args['copyright_text']
@introductory_text = args['introductoryText'] || args['introductory_text']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment