From 0cbedb4473f2aa7ace629bbd15915bdda3c47e1a Mon Sep 17 00:00:00 2001 From: bergquist Date: Mon, 22 Aug 2016 16:56:28 +0200 Subject: [PATCH] chore(api): remove commented endpoints --- pkg/api/api.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/api/api.go b/pkg/api/api.go index b95e7dc5459..31184a5a095 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -248,9 +248,7 @@ func Register(r *macaron.Macaron) { r.Group("/alerts", func() { r.Post("/test", bind(dtos.AlertTestCommand{}), wrap(AlertTest)) //r.Get("/:alertId/states", wrap(GetAlertStates)) - //r.Put("/:alertId/state", bind(m.UpdateAlertStateCommand{}), wrap(PutAlertState)) r.Get("/:alertId", ValidateOrgAlert, wrap(GetAlert)) - //r.Delete("/:alertId", ValidateOrgAlert, wrap(DelAlert)) disabled until we know how to handle it dashboard updates r.Get("/", wrap(GetAlerts)) })