run eslint for discord enhancement

This commit is contained in:
LouisLam 2021-08-08 02:18:33 +08:00
parent 4469b3a19b
commit 2677f5dd87

View File

@ -124,7 +124,7 @@ class Notification {
await axios.post(notification.discordWebhookUrl, discorddowndata)
return okMsg;
} else if (heartbeatJSON["status"] == 1) {
} if (heartbeatJSON["status"] == 1) {
let discordupdata = {
username: notification.discordUsername || "Uptime Kuma",
embeds: [{