Merge pull request #1130 from bilipp/google-chat-notifications

Fix Google Chat notification type mismatch
This commit is contained in:
Louis Lam 2022-01-06 13:05:55 +08:00 committed by GitHub
commit 4ee829ab25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ const { DOWN, UP } = require("../../src/util");
class GoogleChat extends NotificationProvider {
name = "Google Chat";
name = "GoogleChat";
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
let okMsg = "Sent Successfully.";

View File

@ -60,7 +60,7 @@ const NotificationFormList = {
"serwersms": SerwerSMS,
"stackfield": Stackfield,
"WeCom": WeCom,
"Google Chat (Google Workspace only)": GoogleChat
"GoogleChat": GoogleChat
};
export default NotificationFormList;

View File

@ -194,6 +194,7 @@ export default {
promosms: "PromoSMS",
lunasea: "LunaSea",
apprise: "Apprise (Unterstützung für 50+ Benachrichtigungsdienste)",
GoogleChat: "Google Chat (nur Google Workspace)",
pushbullet: "Pushbullet",
line: "Line Messenger",
mattermost: "Mattermost",

View File

@ -243,6 +243,7 @@ export default {
clicksendsms: "ClickSend SMS",
lunasea: "LunaSea",
apprise: "Apprise (Support 50+ Notification services)",
GoogleChat: "Google Chat (Google Workspace only)",
pushbullet: "Pushbullet",
line: "Line Messenger",
mattermost: "Mattermost",