Add ESLint formatting

This commit is contained in:
AxeKam333 2025-04-07 14:38:04 +02:00
parent 6164cff8e7
commit f59062c072

View File

@ -55,8 +55,8 @@ class SMSEagle extends NotificationProvider {
url.searchParams.append("access_token", notification.smseagleToken);
url.searchParams.append(recipientType, notification.smseagleRecipient);
if (![ "smseagle-ring", "smseagle-tts", "smseagle-tts-advanced" ].includes(notification.smseagleRecipientType)) {
url.searchParams.append("access_token", (notification.smseagleEncoding) ? "1" : "0");
url.searchParams.append("access_token", (notification.smseaglePriority) ? notification.smseaglePriority : "0");
url.searchParams.append("unicode", (notification.smseagleEncoding) ? "1" : "0");
url.searchParams.append("highpriority", (notification.smseaglePriority) ? notification.smseaglePriority : "0");
} else {
url.searchParams.append("duration", duration);
}