Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fixed return value
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Apr 30, 2019
1 parent 96bd70f commit fe6ac9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/rest/client/v2_alpha/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def on_GET(self, request):
# 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):
Expand All @@ -537,7 +537,7 @@ def on_POST(self, request):
body["id_server"], body["threepids"],
)

respond_with_json(200, ret)
defer.returnValue((200, ret))


class WhoamiRestServlet(RestServlet):
Expand Down

0 comments on commit fe6ac9c

Please sign in to comment.