refactor(alerting): initial step for seperating alerting and dash model, #6273

This commit is contained in:
Torkel Ödegaard
2016-10-14 13:06:29 +02:00
parent 4c26c55fea
commit 30645a6d3d
7 changed files with 701 additions and 665 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ func NotificationTest(c *middleware.Context, dto dtos.NotificationTestCommand) R
return ApiSuccess("Test notification sent")
}
//POST /api/:alertId/pause
//POST /api/alerts/:alertId/pause
func PauseAlert(c *middleware.Context, dto dtos.PauseAlertCommand) Response {
cmd := models.PauseAlertCommand{
OrgId: c.OrgId,