tech(alerting): renames pause all method

This commit is contained in:
bergquist
2016-12-19 15:17:49 +01:00
parent ecdf1888c4
commit a2257ec3d0
5 changed files with 8 additions and 12 deletions
+2 -2
View File
@@ -286,8 +286,8 @@ func PauseAlert(c *middleware.Context, dto dtos.PauseAlertCommand) Response {
return Json(200, result)
}
//POST /api/alerts/pause
func PauseAlerts(c *middleware.Context, dto dtos.PauseAllAlertsCommand) Response {
//POST /api/admin/pause-all-alerts
func PauseAllAlerts(c *middleware.Context, dto dtos.PauseAllAlertsCommand) Response {
updateCmd := models.PauseAllAlertCommand{
Paused: dto.Paused,
}