diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-03 07:12:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 07:12:55 -0400 |
commit | 3b415e23a52dfde90d387821e42cdb3a4eb4e068 (patch) | |
tree | 0fc06433e0da098b964c9fbf9bf5e7d1f13e7713 /synapse/replication/http/register.py | |
parent | Convert ACME code to async/await. (#7989) (diff) | |
download | synapse-3b415e23a52dfde90d387821e42cdb3a4eb4e068.tar.xz |
Convert replication code to async/await. (#7987)
Diffstat (limited to 'synapse/replication/http/register.py')
-rw-r--r-- | synapse/replication/http/register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/http/register.py b/synapse/replication/http/register.py index 0c4aca1291..ce9420aa69 100644 --- a/synapse/replication/http/register.py +++ b/synapse/replication/http/register.py @@ -34,7 +34,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint): self.registration_handler = hs.get_registration_handler() @staticmethod - def _serialize_payload( + async def _serialize_payload( user_id, password_hash, was_guest, @@ -105,7 +105,7 @@ class ReplicationPostRegisterActionsServlet(ReplicationEndpoint): self.registration_handler = hs.get_registration_handler() @staticmethod - def _serialize_payload(user_id, auth_result, access_token): + async def _serialize_payload(user_id, auth_result, access_token): """ Args: user_id (str): The user ID that consented |