From ba357b045cfc1ff8e22c48e7c58fd3978122a16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 15 Apr 2016 00:13:13 +0300 Subject: [PATCH] Mattermost with Slack integration: payload fields must be strings not integers, or else there will be a bunch of JS errors on Mattermost web UI. --- templates/integrations/slack_message.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/integrations/slack_message.json b/templates/integrations/slack_message.json index 86beea01..3e67aa6e 100644 --- a/templates/integrations/slack_message.json +++ b/templates/integrations/slack_message.json @@ -36,7 +36,7 @@ {% endif %} { "title": "Total Pings", - "value": {{ check.n_pings }}, + "value": "{{ check.n_pings }}", "short": true } ]