Philipp Dormann
4 years ago
No known key found for this signature in database
GPG Key ID: 3BB9ADD52DCA4314
1 changed files with
3 additions and
0 deletions
-
server/notification.js
|
|
@ -21,6 +21,9 @@ class Notification { |
|
|
|
|
|
|
|
} else if (notification.type === "gotify") { |
|
|
|
try { |
|
|
|
if (notification.gotifyserverurl.endsWith("/")) { |
|
|
|
notification.gotifyserverurl = notification.gotifyserverurl.slice(0, -1); |
|
|
|
} |
|
|
|
await axios.post(`${notification.gotifyserverurl}/message?token=${notification.gotifyapplicationToken}`, { |
|
|
|
"message": msg, |
|
|
|
"priority": 8, |
|
|
|