From 34b86352f24bf36084e58f96bf7a8149c2b63414 Mon Sep 17 00:00:00 2001 From: Gero Gerke Date: Tue, 5 Oct 2021 21:40:59 +0200 Subject: [PATCH] remove double spaces --- server/notification-providers/discord.js | 2 +- server/notification-providers/gotify.js | 2 +- server/notification-providers/line.js | 2 +- server/notification-providers/lunasea.js | 2 +- server/notification-providers/matrix.js | 2 +- server/notification-providers/mattermost.js | 2 +- server/notification-providers/octopush.js | 2 +- server/notification-providers/pushbullet.js | 2 +- server/notification-providers/pushover.js | 2 +- server/notification-providers/pushy.js | 2 +- server/notification-providers/rocket-chat.js | 2 +- server/notification-providers/signal.js | 2 +- server/notification-providers/slack.js | 2 +- server/notification-providers/teams.js | 2 +- server/notification-providers/telegram.js | 2 +- server/notification-providers/webhook.js | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/server/notification-providers/discord.js b/server/notification-providers/discord.js index 971c26e5e..881ad2113 100644 --- a/server/notification-providers/discord.js +++ b/server/notification-providers/discord.js @@ -7,7 +7,7 @@ class Discord extends NotificationProvider { name = "discord"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { const discordDisplayName = notification.discordUsername || "Uptime Kuma"; diff --git a/server/notification-providers/gotify.js b/server/notification-providers/gotify.js index 9d2d55aa5..085261897 100644 --- a/server/notification-providers/gotify.js +++ b/server/notification-providers/gotify.js @@ -6,7 +6,7 @@ class Gotify extends NotificationProvider { name = "gotify"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { if (notification.gotifyserverurl && notification.gotifyserverurl.endsWith("/")) { notification.gotifyserverurl = notification.gotifyserverurl.slice(0, -1); diff --git a/server/notification-providers/line.js b/server/notification-providers/line.js index 830969034..327696edd 100644 --- a/server/notification-providers/line.js +++ b/server/notification-providers/line.js @@ -7,7 +7,7 @@ class Line extends NotificationProvider { name = "line"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { let lineAPIUrl = "https://api.line.me/v2/bot/message/push"; let config = { diff --git a/server/notification-providers/lunasea.js b/server/notification-providers/lunasea.js index fb6cd2368..c41f400e2 100644 --- a/server/notification-providers/lunasea.js +++ b/server/notification-providers/lunasea.js @@ -7,7 +7,7 @@ class LunaSea extends NotificationProvider { name = "lunasea"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; let lunaseadevice = "https://notify.lunasea.app/v1/custom/device/" + notification.lunaseaDevice try { diff --git a/server/notification-providers/matrix.js b/server/notification-providers/matrix.js index 24d45239e..cd5c2426a 100644 --- a/server/notification-providers/matrix.js +++ b/server/notification-providers/matrix.js @@ -6,7 +6,7 @@ class Matrix extends NotificationProvider { name = "matrix"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; const size = 20; const randomString = Crypto diff --git a/server/notification-providers/mattermost.js b/server/notification-providers/mattermost.js index 97779435a..d776284be 100644 --- a/server/notification-providers/mattermost.js +++ b/server/notification-providers/mattermost.js @@ -7,7 +7,7 @@ class Mattermost extends NotificationProvider { name = "mattermost"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { const mattermostUserName = notification.mattermostusername || "Uptime Kuma"; // If heartbeatJSON is null, assume we're testing. diff --git a/server/notification-providers/octopush.js b/server/notification-providers/octopush.js index 40273f9b8..76c3e498f 100644 --- a/server/notification-providers/octopush.js +++ b/server/notification-providers/octopush.js @@ -6,7 +6,7 @@ class Octopush extends NotificationProvider { name = "octopush"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { let config = { diff --git a/server/notification-providers/pushbullet.js b/server/notification-providers/pushbullet.js index 0ed6f0fdf..c7b824a2c 100644 --- a/server/notification-providers/pushbullet.js +++ b/server/notification-providers/pushbullet.js @@ -8,7 +8,7 @@ class Pushbullet extends NotificationProvider { name = "pushbullet"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { let pushbulletUrl = "https://api.pushbullet.com/v2/pushes"; diff --git a/server/notification-providers/pushover.js b/server/notification-providers/pushover.js index 2133ca1cf..77ef1a3f0 100644 --- a/server/notification-providers/pushover.js +++ b/server/notification-providers/pushover.js @@ -6,7 +6,7 @@ class Pushover extends NotificationProvider { name = "pushover"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; let pushoverlink = "https://api.pushover.net/1/messages.json" try { diff --git a/server/notification-providers/pushy.js b/server/notification-providers/pushy.js index 431cf8c37..2bb899349 100644 --- a/server/notification-providers/pushy.js +++ b/server/notification-providers/pushy.js @@ -6,7 +6,7 @@ class Pushy extends NotificationProvider { name = "pushy"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { await axios.post(`https://api.pushy.me/push?api_key=${notification.pushyAPIKey}`, { diff --git a/server/notification-providers/rocket-chat.js b/server/notification-providers/rocket-chat.js index 149189650..d61058489 100644 --- a/server/notification-providers/rocket-chat.js +++ b/server/notification-providers/rocket-chat.js @@ -6,7 +6,7 @@ class RocketChat extends NotificationProvider { name = "rocket.chat"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { if (heartbeatJSON == null) { let data = { diff --git a/server/notification-providers/signal.js b/server/notification-providers/signal.js index ba5f87f9c..fee65754e 100644 --- a/server/notification-providers/signal.js +++ b/server/notification-providers/signal.js @@ -6,7 +6,7 @@ class Signal extends NotificationProvider { name = "signal"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { let data = { diff --git a/server/notification-providers/slack.js b/server/notification-providers/slack.js index 661df5a0f..3d5a3bed4 100644 --- a/server/notification-providers/slack.js +++ b/server/notification-providers/slack.js @@ -6,7 +6,7 @@ class Slack extends NotificationProvider { name = "slack"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { if (heartbeatJSON == null) { let data = { diff --git a/server/notification-providers/teams.js b/server/notification-providers/teams.js index 72409ffc8..859af569c 100644 --- a/server/notification-providers/teams.js +++ b/server/notification-providers/teams.js @@ -87,7 +87,7 @@ class Teams extends NotificationProvider { }; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { if (heartbeatJSON == null) { diff --git a/server/notification-providers/telegram.js b/server/notification-providers/telegram.js index f88dcf5de..54d33bfbd 100644 --- a/server/notification-providers/telegram.js +++ b/server/notification-providers/telegram.js @@ -6,7 +6,7 @@ class Telegram extends NotificationProvider { name = "telegram"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { await axios.get(`https://api.telegram.org/bot${notification.telegramBotToken}/sendMessage`, { diff --git a/server/notification-providers/webhook.js b/server/notification-providers/webhook.js index 197e9f9f3..9cb361f30 100644 --- a/server/notification-providers/webhook.js +++ b/server/notification-providers/webhook.js @@ -7,7 +7,7 @@ class Webhook extends NotificationProvider { name = "webhook"; async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - let okMsg = "Sent Successfully. "; + let okMsg = "Sent Successfully."; try { let data = {