app/serializers/spotlight/exhibit_export_serializer.rb in blacklight-spotlight-0.10.2 vs app/serializers/spotlight/exhibit_export_serializer.rb in blacklight-spotlight-0.10.3

- old
+ new

@@ -81,9 +81,11 @@ property :avatar, exec_context: :decorator def avatar file = represented.avatar.file + return unless file + { filename: file.filename, content_type: file.content_type, content: Base64.encode64(file.read) } end def avatar=(file) represented.avatar = CarrierWave::SanitizedFile.new tempfile: StringIO.new(Base64.decode64(file['content'])),