mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:42:12 +08:00
fix status code 200 (#47818)
This commit is contained in:
@ -25,7 +25,7 @@ func (hs *HTTPServer) AdminGetStats(c *models.ReqContext) response.Response {
|
||||
return response.Error(500, "Failed to get admin stats from database", err)
|
||||
}
|
||||
|
||||
return response.JSON(200, statsQuery.Result)
|
||||
return response.JSON(http.StatusOK, statsQuery.Result)
|
||||
}
|
||||
|
||||
func (hs *HTTPServer) getAuthorizedSettings(ctx context.Context, user *models.SignedInUser, bag setting.SettingsBag) (setting.SettingsBag, error) {
|
||||
|
Reference in New Issue
Block a user