From 7b5c40d68c48b9dceef1a348f7370797274c64bc Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sat, 14 Nov 2020 16:17:19 -0500 Subject: [PATCH] Fix #34: Extra comma in the Slack provider request body --- alerting/provider/slack/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alerting/provider/slack/slack.go b/alerting/provider/slack/slack.go index c2c818f5..a7d1f153 100644 --- a/alerting/provider/slack/slack.go +++ b/alerting/provider/slack/slack.go @@ -55,7 +55,7 @@ func (provider *AlertProvider) ToCustomAlertProvider(service *core.Service, aler "short": false } ] - }, + } ] }`, message, alert.Description, color, results), Headers: map[string]string{"Content-Type": "application/json"},