mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-18 21:17:52 -04:00
Convert synapse.api to async/await (#8031)
This commit is contained in:
parent
c36228c403
commit
d4a7829b12
22 changed files with 171 additions and 159 deletions
|
@ -424,7 +424,7 @@ class RegisterRestServlet(RestServlet):
|
|||
|
||||
appservice = None
|
||||
if self.auth.has_access_token(request):
|
||||
appservice = await self.auth.get_appservice_by_req(request)
|
||||
appservice = self.auth.get_appservice_by_req(request)
|
||||
|
||||
# fork off as soon as possible for ASes which have completely
|
||||
# different registration flows to normal users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue