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

Commit

Permalink
Remove redundent call
Browse files Browse the repository at this point in the history
Signed-off-by: Travis Ralston <[email protected]>
  • Loading branch information
turt2live committed Nov 13, 2017
1 parent 2d314b7 commit 812c191
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions synapse/rest/client/v2_alpha/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,6 @@ def __init__(self, hs):

@defer.inlineCallbacks
def on_GET(self, request):
yield run_on_reactor()

requester = yield self.auth.get_user_by_req(request)

defer.returnValue((200, {'user_id': requester.user.to_string()}))
Expand Down

0 comments on commit 812c191

Please sign in to comment.