From 258d93be72233992966e1e39e9cdbd0f47dc2116 Mon Sep 17 00:00:00 2001 From: Ananth Kamath Date: Sun, 13 Feb 2022 18:48:05 +0530 Subject: [PATCH] Fix mattermost couldn't find channel issue --- server/notification-providers/mattermost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/mattermost.js b/server/notification-providers/mattermost.js index d776284b..c2ffc23b 100644 --- a/server/notification-providers/mattermost.js +++ b/server/notification-providers/mattermost.js @@ -20,7 +20,7 @@ class Mattermost extends NotificationProvider { return okMsg; } - const mattermostChannel = notification.mattermostchannel; + const mattermostChannel = notification.mattermostchannel.toLowerCase(); const mattermostIconEmoji = notification.mattermosticonemo; const mattermostIconUrl = notification.mattermosticonurl;