From 9c0de7d20c6f2f8f1c0e0bd9851fcc3adf78dd95 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 24 Apr 2025 15:56:36 +0200 Subject: [PATCH] Update server/notification-providers/smseagle.js --- server/notification-providers/smseagle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/smseagle.js b/server/notification-providers/smseagle.js index 35854473c..a123243a4 100644 --- a/server/notification-providers/smseagle.js +++ b/server/notification-providers/smseagle.js @@ -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 {