0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 21:03:51 +01:00

Make the /set part mandatory

This commit is contained in:
David Baker 2016-04-12 13:54:41 +01:00
parent 44891b4a0a
commit a04c076b7f

View file

@ -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)