mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 20:09:26 -05:00
Make the /set part mandatory
This commit is contained in:
parent
44891b4a0a
commit
a04c076b7f
@ -64,7 +64,7 @@ class PushersRestServlet(ClientV1RestServlet):
|
|||||||
|
|
||||||
|
|
||||||
class PushersSetRestServlet(ClientV1RestServlet):
|
class PushersSetRestServlet(ClientV1RestServlet):
|
||||||
PATTERNS = client_path_patterns("/pushers(/set)?$")
|
PATTERNS = client_path_patterns("/pushers/set$")
|
||||||
|
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
super(PushersSetRestServlet, self).__init__(hs)
|
super(PushersSetRestServlet, self).__init__(hs)
|
||||||
|
Loading…
Reference in New Issue
Block a user