Created
February 5, 2015 10:14
-
-
Save babo/4fdfd1a171c6dc175aad to your computer and use it in GitHub Desktop.
This file contains hidden or 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
--- i/src/mcash/mcash/core/person/api/v1/handlers/addressbook.py | |
+++ w/src/mcash/mcash/core/person/api/v1/handlers/addressbook.py | |
@@ -202,7 +202,7 @@ class AddressBookHandler(BasePersonHandler): | |
raise ndb.Return(filter(None, res)) | |
@secure(level=AuthLevel.TWOFACTOR) | |
- @schemas(input_form=forms.AddressBookRequestForm, output_form=forms.AddressBookResponseForm, validate_input=True) | |
+ @schemas(input_form=forms.AddressBookRequestForm, output_form=None, validate_input=True) | |
@ndb.tasklet | |
def get(self, *args, **kwargs): | |
""" | |
@@ -219,7 +219,7 @@ class AddressBookHandler(BasePersonHandler): | |
): | |
raise ndb.Return({'identifiers': json.loads(matches.data)}) | |
- raise ndb.Return({'identifiers': []}) | |
+ raise ndb.Return({'identifiers': [], 'cool': {'93671565': '1223344'}}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment