summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/keys.py
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-08-21 13:19:35 -0700
committerHubert Chathi <hubert@uhoreg.ca>2019-08-21 13:19:35 -0700
commit7c3abc65728af052b0d484f9669b1c084cd2faf5 (patch)
tree57b7c1e56476b35515d9146698648a4b4820c6bc /synapse/rest/client/v2_alpha/keys.py
parentfix formatting (diff)
downloadsynapse-7c3abc65728af052b0d484f9669b1c084cd2faf5.tar.xz
apply PR review suggestions
Diffstat (limited to 'synapse/rest/client/v2_alpha/keys.py')
-rw-r--r--synapse/rest/client/v2_alpha/keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/keys.py b/synapse/rest/client/v2_alpha/keys.py
index f40a785598..1340d2c80d 100644
--- a/synapse/rest/client/v2_alpha/keys.py
+++ b/synapse/rest/client/v2_alpha/keys.py
@@ -263,7 +263,7 @@ class SigningKeyUploadServlet(RestServlet):
         )
 
         result = yield self.e2e_keys_handler.upload_signing_keys_for_user(user_id, body)
-        defer.returnValue((200, result))
+        return (200, result)
 
 
 def register_servlets(hs, http_server):