Commit 032c6493 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Fix typo: All Bitsreams's resource returning items

parent 0f72da28
......@@ -14,7 +14,7 @@ module Dspace
action :all, 'GET /rest/bitstreams' do
query_keys :expand, :limit, :offset
handler(200) do |response|
Dspace::Builders::ModelBuilder.build_items(JSON.parse(response.body))
Dspace::Builders::ModelBuilder.build_bitstreams(JSON.parse(response.body))
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