summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-04-30 18:28:01 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-04-30 18:28:01 +0100
commitfe6ac9c5d709053abdd7a72297aaa64e6aa8e8fb (patch)
tree524baec601008cfcd6b62d6966aedd05f23b76cf
parentBunch of tests (diff)
downloadsynapse-fe6ac9c5d709053abdd7a72297aaa64e6aa8e8fb.tar.xz
Fixed return value
-rw-r--r--synapse/rest/client/v2_alpha/account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py

index f7110f3b40..bf5d28b6e3 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py
@@ -510,7 +510,7 @@ class ThreepidLookupRestServlet(RestServlet): # if the lookup is allowed so we don't need to do it here. ret = yield self.identity_handler.lookup_3pid(id_server, medium, address) - respond_with_json(200, ret) + defer.returnValue((200, ret)) class ThreepidBulkLookupRestServlet(RestServlet): @@ -537,7 +537,7 @@ class ThreepidBulkLookupRestServlet(RestServlet): body["id_server"], body["threepids"], ) - respond_with_json(200, ret) + defer.returnValue((200, ret)) class WhoamiRestServlet(RestServlet):