From 87f8d506966be80960674215f2dd891caf816a50 Mon Sep 17 00:00:00 2001 From: Simon Nilsson Date: Tue, 26 Mar 2024 08:36:07 +0100 Subject: [PATCH] Update server/notification-providers/cellsynt.js Co-authored-by: Frank Elsinga --- server/notification-providers/cellsynt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/cellsynt.js b/server/notification-providers/cellsynt.js index f09582ab..1d7da407 100644 --- a/server/notification-providers/cellsynt.js +++ b/server/notification-providers/cellsynt.js @@ -104,7 +104,7 @@ class Cellsynt extends NotificationProvider { if (heartbeatJSON != null) { data.params.text = msg.replace(/[^\x00-\x7F]/g, ""); } - let resp = await axios.post("https://se-1.cellsynt.net/sms.php", null, data); + const resp = await axios.post("https://se-1.cellsynt.net/sms.php", null, data); if (resp.data == null || resp.data.includes("Error")) { this.throwGeneralAxiosError(resp.data); }