mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix status code 200 (#47818)
This commit is contained in:
@@ -180,7 +180,7 @@ func JSONStreaming(status int, body interface{}) StreamingResponse {
|
||||
func Success(message string) *NormalResponse {
|
||||
resp := make(map[string]interface{})
|
||||
resp["message"] = message
|
||||
return JSON(200, resp)
|
||||
return JSON(http.StatusOK, resp)
|
||||
}
|
||||
|
||||
// Error creates an error response.
|
||||
|
||||
Reference in New Issue
Block a user