Fix mattermost couldn't find channel issue

This commit is contained in:
Ananth Kamath 2022-02-13 18:48:05 +05:30
parent 986ddd92ff
commit 258d93be72

View file

@ -20,7 +20,7 @@ class Mattermost extends NotificationProvider {
return okMsg; return okMsg;
} }
const mattermostChannel = notification.mattermostchannel; const mattermostChannel = notification.mattermostchannel.toLowerCase();
const mattermostIconEmoji = notification.mattermosticonemo; const mattermostIconEmoji = notification.mattermosticonemo;
const mattermostIconUrl = notification.mattermosticonurl; const mattermostIconUrl = notification.mattermosticonurl;