-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GET registry_: Directly return the actual value instead
of wrapping it in a dict.
- Loading branch information
Showing
2 changed files
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,4 @@ Accept: application/json | |
HTTP 200 OK | ||
content-type: application/json | ||
|
||
{ | ||
"key": "value" | ||
} | ||
"value" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ def publishTraverse(self, request, name): | |
return self | ||
|
||
def render(self): | ||
return {'key': 'value'} | ||
return 'value' |