tech(alerting): fixes broken refactoring

pull/5622/head
bergquist 9 years ago
parent 9083392341
commit bac89775e2
  1. 2
      pkg/api/alerting.go

@ -88,7 +88,7 @@ func GetAlerts(c *middleware.Context) Response {
// GET /api/alerts/:id
func GetAlert(c *middleware.Context) Response {
id := c.ParamsInt64(":id")
id := c.ParamsInt64(":alertId")
query := models.GetAlertByIdQuery{Id: id}
if err := bus.Dispatch(&query); err != nil {

Loading…
Cancel
Save