summary refs log tree commit diff
path: root/synapse/rest/client/v1/pusher.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-12 13:54:41 +0100
committerDavid Baker <dave@matrix.org>2016-04-12 13:54:41 +0100
commita04c076b7f72bc4a3ba5605abf6b10ac682826be (patch)
tree7ca024263f045dce9b2480764ddcc45524870e3f /synapse/rest/client/v1/pusher.py
parentTidy up get_pusher functions (diff)
downloadsynapse-a04c076b7f72bc4a3ba5605abf6b10ac682826be.tar.xz
Make the /set part mandatory
Diffstat (limited to 'synapse/rest/client/v1/pusher.py')
-rw-r--r--synapse/rest/client/v1/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py
index d792dac648..ab928a16da 100644
--- a/synapse/rest/client/v1/pusher.py
+++ b/synapse/rest/client/v1/pusher.py
@@ -64,7 +64,7 @@ class PushersRestServlet(ClientV1RestServlet):
 
 
 class PushersSetRestServlet(ClientV1RestServlet):
-    PATTERNS = client_path_patterns("/pushers(/set)?$")
+    PATTERNS = client_path_patterns("/pushers/set$")
 
     def __init__(self, hs):
         super(PushersSetRestServlet, self).__init__(hs)