diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-12-08 17:59:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 16:59:40 +0000 |
commit | 7ecaa3b976b04dc5b2c6786aa18845016b80dd01 (patch) | |
tree | b66e9caab3e56bbca80b2526322e92b616a292c0 /synapse/rest/admin/federation.py | |
parent | Document the usage of refresh tokens. (#11427) (diff) | |
download | synapse-7ecaa3b976b04dc5b2c6786aa18845016b80dd01.tar.xz |
Clean up `synapse.rest.admin` (#11535)
Diffstat (limited to 'synapse/rest/admin/federation.py')
-rw-r--r-- | synapse/rest/admin/federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin/federation.py b/synapse/rest/admin/federation.py index 744687be35..50d88c9109 100644 --- a/synapse/rest/admin/federation.py +++ b/synapse/rest/admin/federation.py @@ -100,7 +100,7 @@ class DestinationsRestServlet(RestServlet): 200 OK with details of a destination if success otherwise an error. """ - PATTERNS = admin_patterns("/federation/destinations/(?P<destination>[^/]+)$") + PATTERNS = admin_patterns("/federation/destinations/(?P<destination>[^/]*)$") def __init__(self, hs: "HomeServer"): self._auth = hs.get_auth() |