Camel-case the bundle name param when adding bitstreams

See c3sl/dspace-ufpr#5d35fe954562a72f42e094f08c2d5864885b2cba.
parent 88da2e80
Pipeline #12576 passed with stage
in 41 seconds
......@@ -50,7 +50,7 @@ module Dspace
end
action :add_bitstream, 'POST /rest/items/:id/bitstreams' do
query_keys :name, :description, :bundle_name
query_keys :name, :description, :bundleName
body { |file| file.read }
handler(200) { |response| Dspace::Bitstream.new(JSON.parse(response.body)) }
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