Skip to content

Commit

Permalink
Enable correct admin servelet
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Oct 4, 2024
1 parent 18ca642 commit 17446d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def register_servlets(hs: "HomeServer", http_server: HttpServer) -> None:
# Admin servlets aren't registered on workers.
if hs.config.worker.worker_app is not None:
# Beep: except this one ;)
UserAdminServlet(hs).register(http_server)
UserTokenRestServlet(hs).register(http_server)
return

register_servlets_for_client_rest_resource(hs, http_server)
Expand Down

0 comments on commit 17446d4

Please sign in to comment.