mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 13:00:35 +08:00
add gotify priority
ref https://github.com/louislam/uptime-kuma/pull/43 closes https://github.com/louislam/uptime-kuma/issues/50
This commit is contained in:
@@ -26,7 +26,7 @@ class Notification {
|
||||
}
|
||||
await axios.post(`${notification.gotifyserverurl}/message?token=${notification.gotifyapplicationToken}`, {
|
||||
"message": msg,
|
||||
"priority": 8,
|
||||
"priority": notification.gotifyPriority || 8,
|
||||
"title": "Uptime-Kuma"
|
||||
})
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user