Merge pull request #1298 from ananthkamath/master

Fix mattermost couldn't find channel issue
This commit is contained in:
Louis Lam 2022-02-13 23:56:12 +08:00 committed by GitHub
commit d0ed99a310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;