From c200a3450b1edd8a2cc294e7f6dafcc87106a2c1 Mon Sep 17 00:00:00 2001 From: AxeKam333 Date: Thu, 20 Mar 2025 09:26:53 +0100 Subject: [PATCH] Add default completion. Update Apiv1 message type selection --- server/notification-providers/smseagle.js | 6 ++-- src/components/notifications/SMSEagle.vue | 37 +++++++++++++++++------ 2 files changed, 31 insertions(+), 12 deletions(-) diff --git a/server/notification-providers/smseagle.js b/server/notification-providers/smseagle.js index dca1479ba..4989408bb 100644 --- a/server/notification-providers/smseagle.js +++ b/server/notification-providers/smseagle.js @@ -38,11 +38,11 @@ class SMSEagle extends NotificationProvider { else duration = 10; - if (notification.smseagleRecipientType == "smseagle-ring") { + if (notification.smseagleMsgType == "smseagle-ring") { sendMethod = "/ring_call"; - } else if (notification.smseagleRecipientType == "smseagle-tts") { + } else if (notification.smseagleMsgType == "smseagle-tts") { sendMethod = "/tts_call"; - } else if (notification.smseagleRecipientType == "smseagle-tts-advanced") { + } else if (notification.smseagleMsgType == "smseagle-tts-advanced") { sendMethod = "/tts_adv_call"; voice_id = notification.smseagleTtsModel; } diff --git a/src/components/notifications/SMSEagle.vue b/src/components/notifications/SMSEagle.vue index 252fa94ac..6286628a2 100644 --- a/src/components/notifications/SMSEagle.vue +++ b/src/components/notifications/SMSEagle.vue @@ -1,7 +1,8 @@