Commit 0e8bd75e authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

fix typo

parent 2a217214
......@@ -18,9 +18,9 @@ require_relative "dspace/builders/tempfile_builder"
require_relative "dspace/community"
require_relative "dspace/collection"
require_relative "dspace/item"
require_relative "dspace/metadata_field"
require_relative "dspace/metadata"
require_relative "dspace/schema"
require_relative "dspace/field"
require_relative "dspace/metadata_field"
require_relative "dspace/bitstream"
require_relative "dspace/policy"
require_relative "dspace/client"
......
......@@ -27,7 +27,7 @@ module Dspace
'GET /rest/registries/schema/:schema_prefix' do
query_keys :expand
handler(200) do |response|
Dspace::SchemaRegistry.new(JSON.parse(response.body))
Dspace::Schema.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