This commit is contained in:
Neil Alexander 2022-09-14 11:20:52 +01:00
parent d4cdab0a44
commit 19e0ce855d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

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