mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-05 05:03:09 -06:00
Use right prefix
This commit is contained in:
parent
7359617c1c
commit
080f22ac6b
|
|
@ -120,7 +120,7 @@ func Setup(
|
||||||
).Methods(http.MethodGet, http.MethodPost, http.MethodOptions)
|
).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 {
|
httputil.MakeExternalAPI("admin_evacuate_room", func(req *http.Request) util.JSONResponse {
|
||||||
device, err := getSenderDevice(context.Background(), userAPI, cfg)
|
device, err := getSenderDevice(context.Background(), userAPI, cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue