Commit 7eb337da authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette

fix bug: Wrong method on Bitstream's update_data

parent 4ea3668a
......@@ -49,7 +49,7 @@ module Dspace
end
action :update_data, 'PUT /rest/bitstreams/:id/data' do
body { |file| Base64.encode64(file.read) }
body { |file| file.read }
handler(200, 201) { |response| true }
end
end
......
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