From 19e0ce855d4b2dd3cd460cc6d3e959dbc0e37dd1 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 14 Sep 2022 11:20:52 +0100 Subject: [PATCH] Get --- 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 984540ebd..5760116ad 100644 --- a/clientapi/routing/routing.go +++ b/clientapi/routing/routing.go @@ -165,7 +165,7 @@ func Setup( httputil.MakeAdminAPI("admin_download_state", userAPI, func(req *http.Request, device *userapi.Device) util.JSONResponse { return AdminDownloadState(req, cfg, device, rsAPI) }), - ).Methods(http.MethodPost, http.MethodOptions) + ).Methods(http.MethodGet, http.MethodOptions) // server notifications if cfg.Matrix.ServerNotices.Enabled {