summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-04-15 19:21:32 +0100
committerErik Johnston <erik@matrix.org>2019-04-15 19:39:47 +0100
commit38642614cffb107bb69abf215eb5144681bc4491 (patch)
treec666e75a098f737c08888affa896f06f2dd894b2 /synapse/app
parentMerge pull request #5063 from matrix-org/erikj/move_endpoints (diff)
downloadsynapse-38642614cffb107bb69abf215eb5144681bc4491.tar.xz
VersionRestServlet doesn't take a param
Diffstat (limited to 'synapse/app')
-rw-r--r--synapse/app/client_reader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/client_reader.py b/synapse/app/client_reader.py
index 1e9e686107..864f1eac48 100644
--- a/synapse/app/client_reader.py
+++ b/synapse/app/client_reader.py
@@ -114,7 +114,7 @@ class ClientReaderServer(HomeServer):
                     KeyChangesServlet(self).register(resource)
                     VoipRestServlet(self).register(resource)
                     PushRuleRestServlet(self).register(resource)
-                    VersionsRestServlet(self).register(resource)
+                    VersionsRestServlet().register(resource)
 
                     resources.update({
                         "/_matrix/client": resource,