Commit 879bfcd3 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette

fix typo: Returning Schema instead of MetadataField

parent dd12ad48
......@@ -91,7 +91,7 @@ module Dspace
'GET /rest/registries/schema/:schema_prefix/metadata-fields/:element' do
query_keys :expand
handler(200) do |response|
Dspace::Schema.new(JSON.parse(response.body))
Dspace::MetadataField.new(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