diff --git a/internal/api/alerts.go b/internal/api/alerts.go index 11093e0..8976a3c 100644 --- a/internal/api/alerts.go +++ b/internal/api/alerts.go @@ -7,7 +7,7 @@ import ( ) func (app *Api) alerts(c *gin.Context) { - c.JSON(200, gin.H{"alerts": app.parsedAlerts()}) + c.JSON(200, app.parsedAlerts()) } func (app *Api) parsedAlerts() []string {