Browse Source

run eslint for discord enhancement

pull/175/head
LouisLam 4 years ago
parent
commit
2677f5dd87
  1. 2
      server/notification.js

2
server/notification.js

@ -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: [{

Loading…
Cancel
Save