Commit 2a21a990 authored by Mauricio Giacomini's avatar Mauricio Giacomini Committed by GitHub
Browse files

Merge pull request #1 from israel-santanna/master

Fixed ItemResource add_metadata
parents 04cb2832 f4d8be6a
......@@ -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