mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-03 03:52:35 +02:00
Update server/notification-providers/smseagle.js
This commit is contained in:
parent
caac8ff60a
commit
9c0de7d20c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class SMSEagle extends NotificationProvider {
|
||||||
|
|
||||||
url.searchParams.append("access_token", notification.smseagleToken);
|
url.searchParams.append("access_token", notification.smseagleToken);
|
||||||
url.searchParams.append(recipientType, notification.smseagleRecipient);
|
url.searchParams.append(recipientType, notification.smseagleRecipient);
|
||||||
if (notification.smseagleRecipientType == null || notification.smseagleRecipientType === "smseagle-sms") {
|
if (!notification.smseagleRecipientType || notification.smseagleRecipientType === "smseagle-sms") {
|
||||||
url.searchParams.append("unicode", (notification.smseagleEncoding) ? "1" : "0");
|
url.searchParams.append("unicode", (notification.smseagleEncoding) ? "1" : "0");
|
||||||
url.searchParams.append("highpriority", notification.smseaglePriority ?? "0");
|
url.searchParams.append("highpriority", notification.smseaglePriority ?? "0");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue