Commit f4d8be6a authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Fixed ItemResource add_metadata

Signed-off-by: Israel Barreto Sant'Anna's avatarIsrael Barreto Sant'Anna <>
parent 04cb2832
......@@ -45,7 +45,7 @@ module Dspace
action :add_metadata, 'POST /rest/items/:id/metadata' do
body { |objects| Dspace::Builders::ModelBuilder.models2hash(objects) }
body { |objects| JSON.generate(objects) }
handler(200, 201) { |response| true }
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