mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
build: fixed gofmt issue and addd mock response feature
This commit is contained in:
@@ -22,8 +22,7 @@ func ValidateOrgAlert(c *middleware.Context) {
|
||||
if c.OrgId != query.Result.OrgId {
|
||||
c.JsonApiErr(403, "You are not allowed to edit/view alert", nil)
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
func GetAlertStatesForDashboard(c *middleware.Context) Response {
|
||||
|
||||
Reference in New Issue
Block a user