Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aluísio Augusto Silva Gonçalves
dspace-rest-client
Commits
879bfcd3
Commit
879bfcd3
authored
Sep 27, 2016
by
Bruno Nocera Zanette
Browse files
fix typo: Returning Schema instead of MetadataField
parent
dd12ad48
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dspace/resources/schema_registry_resource.rb
View file @
879bfcd3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment