mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 11:42:03 +08:00
allowElseIf for else return, since its auto fix removes "else" but without newline
This commit is contained in:
@@ -124,7 +124,7 @@ class Notification {
|
||||
await axios.post(notification.discordWebhookUrl, discorddowndata)
|
||||
return okMsg;
|
||||
|
||||
} if (heartbeatJSON["status"] == 1) {
|
||||
} else if (heartbeatJSON["status"] == 1) {
|
||||
let discordupdata = {
|
||||
username: notification.discordUsername || "Uptime Kuma",
|
||||
embeds: [{
|
||||
|
Reference in New Issue
Block a user