mirror of
https://github.com/element-hq/synapse
synced 2024-10-03 21:22:40 +00:00
fix type error
This commit is contained in:
parent
c03324294d
commit
d3c61ef906
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class PushersRemoveRestServlet(RestServlet):
|
||||||
To allow pusher to be delete by clicking a link (ie. GET request)
|
To allow pusher to be delete by clicking a link (ie. GET request)
|
||||||
"""
|
"""
|
||||||
PATTERNS = client_path_patterns("/pushers/remove$")
|
PATTERNS = client_path_patterns("/pushers/remove$")
|
||||||
SUCCESS_HTML = "<html><body>You have been unsubscribed</body><html>"
|
SUCCESS_HTML = b"<html><body>You have been unsubscribed</body><html>"
|
||||||
|
|
||||||
def __init__(self, hs):
|
def __init__(self, hs):
|
||||||
super(PushersRemoveRestServlet, self).__init__()
|
super(PushersRemoveRestServlet, self).__init__()
|
||||||
|
|
Loading…
Reference in a new issue