Make the /set part mandatory

pull/716/head
David Baker 2016-04-12 13:54:41 +01:00
parent 44891b4a0a
commit a04c076b7f
1 changed files with 1 additions and 1 deletions

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)