mirror of
https://mau.dev/maunium/synapse.git
synced 2025-03-05 17:50:17 +01:00
Remove redundent call
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
2d314b771f
commit
812c191939
1 changed files with 0 additions and 2 deletions
|
@ -391,8 +391,6 @@ class WhoamiRestServlet(RestServlet):
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def on_GET(self, request):
|
def on_GET(self, request):
|
||||||
yield run_on_reactor()
|
|
||||||
|
|
||||||
requester = yield self.auth.get_user_by_req(request)
|
requester = yield self.auth.get_user_by_req(request)
|
||||||
|
|
||||||
defer.returnValue((200, {'user_id': requester.user.to_string()}))
|
defer.returnValue((200, {'user_id': requester.user.to_string()}))
|
||||||
|
|
Loading…
Add table
Reference in a new issue