From 080f22ac6bd3e8e70740563a252f20eca73969f4 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 28 Apr 2022 12:38:33 +0100 Subject: [PATCH] Use right prefix --- clientapi/routing/routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go index a66e8e9fd..9d5b261e7 100644 --- a/clientapi/routing/routing.go +++ b/clientapi/routing/routing.go @@ -120,7 +120,7 @@ func Setup( ).Methods(http.MethodGet, http.MethodPost, http.MethodOptions) } - synapseAdminRouter.Handle("/admin/evacuateRoom", + dendriteAdminRouter.Handle("/admin/evacuateRoom", httputil.MakeExternalAPI("admin_evacuate_room", func(req *http.Request) util.JSONResponse { device, err := getSenderDevice(context.Background(), userAPI, cfg) if err != nil {