diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-06 08:30:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 08:30:06 -0400 |
commit | d4a7829b12197faf52eb487c443ee09acafeb37e (patch) | |
tree | cab5f15a7532596153f61b47aafcf4cb4a4b7d45 /synapse/rest/client/v2_alpha | |
parent | Convert run_as_background_process inner function to async. (#8032) (diff) | |
download | synapse-d4a7829b12197faf52eb487c443ee09acafeb37e.tar.xz |
Convert synapse.api to async/await (#8031)
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index a4c079196d..c549c090b3 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -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 |