Update server/notification-providers/smseagle.js

This commit is contained in:
Frank Elsinga 2025-04-24 15:56:36 +02:00 committed by GitHub
parent caac8ff60a
commit 9c0de7d20c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,7 +50,7 @@ class SMSEagle extends NotificationProvider {
url.searchParams.append("access_token", notification.smseagleToken);
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("highpriority", notification.smseaglePriority ?? "0");
} else {