summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-07 09:44:48 -0400
committerGitHub <noreply@github.com>2020-08-07 09:44:48 -0400
commit4e874ed5932c8d912e5ad9cf7822c216a5bc9266 (patch)
treee30a0565ff19c9eef6444c3ccc270094af4ef068 /synapse/rest/client
parentAdd health check endpoint (#8048) (diff)
downloadsynapse-4e874ed5932c8d912e5ad9cf7822c216a5bc9266.tar.xz
Remove unnecessary maybeDeferred calls (#8044)
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v2_alpha/register.py2
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):