diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-07 09:44:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 09:44:48 -0400 |
commit | 4e874ed5932c8d912e5ad9cf7822c216a5bc9266 (patch) | |
tree | e30a0565ff19c9eef6444c3ccc270094af4ef068 /synapse/rest/client/v2_alpha/register.py | |
parent | Add health check endpoint (#8048) (diff) | |
download | synapse-4e874ed5932c8d912e5ad9cf7822c216a5bc9266.tar.xz |
Remove unnecessary maybeDeferred calls (#8044)
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-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 c549c090b3..f808175698 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -665,7 +665,7 @@ class RegisterRestServlet(RestServlet): (object) params: registration parameters, from which we pull device_id, initial_device_name and inhibit_login Returns: - defer.Deferred: (object) dictionary for response from /register + (object) dictionary for response from /register """ result = {"user_id": user_id, "home_server": self.hs.hostname} if not params.get("inhibit_login", False): |