diff options
author | Erik Johnston <erikj@matrix.org> | 2023-09-07 10:26:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 09:26:07 +0000 |
commit | 8940d1b28ecbaf9185459e2af62169ecf39a96f5 (patch) | |
tree | 47c5360ea140484e9be49ef67cfe45519de219db /synapse/rest/client/notifications.py | |
parent | Bump gitpython from 3.1.32 to 3.1.34 (#16267) (diff) | |
download | synapse-8940d1b28ecbaf9185459e2af62169ecf39a96f5.tar.xz |
Add `/notifications` endpoint to workers (#16265)
Diffstat (limited to 'synapse/rest/client/notifications.py')
-rw-r--r-- | synapse/rest/client/notifications.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/notifications.py b/synapse/rest/client/notifications.py index ea10042569..e7fe1332e7 100644 --- a/synapse/rest/client/notifications.py +++ b/synapse/rest/client/notifications.py @@ -36,6 +36,8 @@ logger = logging.getLogger(__name__) class NotificationsServlet(RestServlet): PATTERNS = client_patterns("/notifications$") + CATEGORY = "Client API requests" + def __init__(self, hs: "HomeServer"): super().__init__() self.store = hs.get_datastores().main |