Use right prefix

This commit is contained in:
Neil Alexander 2022-04-28 12:38:33 +01:00
parent 7359617c1c
commit 080f22ac6b
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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 {