diff --git a/server/notification-providers/cellsynt.js b/server/notification-providers/cellsynt.js index 9032e98a..de0ead0a 100644 --- a/server/notification-providers/cellsynt.js +++ b/server/notification-providers/cellsynt.js @@ -25,7 +25,7 @@ class Cellsynt extends NotificationProvider { const resp = await axios.post("https://se-1.cellsynt.net/sms.php", null, data); if (resp.data == null ) { throw new Error("Error: Could not connect to Cellsynt, please try again."); - } else if (resp.data.includes("Error:")) { + } else if (resp.data.includes("Error:")) { resp.data = resp.data.replaceAll("Error:", ""); throw new Error(resp.data); } diff --git a/src/components/notifications/Cellsynt.vue b/src/components/notifications/Cellsynt.vue index f87ebda3..296f7278 100644 --- a/src/components/notifications/Cellsynt.vue +++ b/src/components/notifications/Cellsynt.vue @@ -19,10 +19,10 @@
{{ $t("Visible on recipient's mobile phone as originator of the message. Allowed values and function depends on parameter originatortype.") }}