diff options
author | David Baker <dave@matrix.org> | 2016-04-12 13:54:41 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-04-12 13:54:41 +0100 |
commit | a04c076b7f72bc4a3ba5605abf6b10ac682826be (patch) | |
tree | 7ca024263f045dce9b2480764ddcc45524870e3f /synapse/rest/client | |
parent | Tidy up get_pusher functions (diff) | |
download | synapse-a04c076b7f72bc4a3ba5605abf6b10ac682826be.tar.xz |
Make the /set part mandatory
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v1/pusher.py | 2 |
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) |