mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 08:52:15 +08:00
tech(alerting): fixes broken refactoring
This commit is contained in:
@ -88,7 +88,7 @@ func GetAlerts(c *middleware.Context) Response {
|
|||||||
|
|
||||||
// GET /api/alerts/:id
|
// GET /api/alerts/:id
|
||||||
func GetAlert(c *middleware.Context) Response {
|
func GetAlert(c *middleware.Context) Response {
|
||||||
id := c.ParamsInt64(":id")
|
id := c.ParamsInt64(":alertId")
|
||||||
query := models.GetAlertByIdQuery{Id: id}
|
query := models.GetAlertByIdQuery{Id: id}
|
||||||
|
|
||||||
if err := bus.Dispatch(&query); err != nil {
|
if err := bus.Dispatch(&query); err != nil {
|
||||||
|
Reference in New Issue
Block a user