Update server/notification-providers/cellsynt.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/4558/head
Simon Nilsson 1 month ago committed by GitHub
parent 378340ae51
commit 87f8d50696
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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);
}

Loading…
Cancel
Save