summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-27 14:58:53 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:54 +0100
commit127e0b1cd7c4aa20220c03df43537d6edbf6acf5 (patch)
treeab11b6f082d37a3bab99ac69b4489141dd00d826
parentError reporting for cert paths (diff)
downloadsynapse-127e0b1cd7c4aa20220c03df43537d6edbf6acf5.tar.xz
Use the write method.
-rw-r--r--synapse_topology/server/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse_topology/server/server.py b/synapse_topology/server/server.py
index b39d6c8b8d..03a273234f 100644
--- a/synapse_topology/server/server.py
+++ b/synapse_topology/server/server.py
@@ -59,7 +59,7 @@ class Server:
     @app.route("/config", methods=["POST"])
     @validate_schema(BASE_CONFIG_SCHEMA)
     def set_config(self, request, body):
-        self.model.set_config(body)
+        self.model.write_config(body)
 
     @app.route("/testcertpaths", methods=["POST"])
     def test_cert_paths(self, request):