mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Oops, bad merge: needed to change the base class of the rest servlets too.
This commit is contained in:
parent
03149ad23a
commit
20c47383dc
3 changed files with 7 additions and 6 deletions
|
@ -17,13 +17,13 @@ from twisted.internet import defer
|
|||
|
||||
from synapse.api.errors import SynapseError, Codes, UnrecognizedRequestError, NotFoundError, \
|
||||
StoreError
|
||||
from base import RestServlet, client_path_pattern
|
||||
from .base import ClientV1RestServlet, client_path_pattern
|
||||
from synapse.storage.push_rule import InconsistentRuleException, RuleNotFoundException
|
||||
|
||||
import json
|
||||
|
||||
|
||||
class PushRuleRestServlet(RestServlet):
|
||||
class PushRuleRestServlet(ClientV1RestServlet):
|
||||
PATTERN = client_path_pattern("/pushrules/.*$")
|
||||
PRIORITY_CLASS_MAP = {
|
||||
'underride': 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue