tech(alerting): fixes broken refactoring

This commit is contained in:
bergquist 2016-05-02 18:00:10 +02:00
parent 9083392341
commit bac89775e2

View File

@ -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 {