Removed unnecessary code

pull/4625/head
Simon Nilsson 1 month ago
parent 197c278efe
commit 07dcc6b5d7

@ -24,11 +24,7 @@ class Cellsynt extends NotificationProvider {
"allowconcat": notification.cellsyntAllowLongSMS ? 6 : 1
}
};
try {
if (heartbeatJSON != null) {
data.params.text = msg.replace(/[^\x00-\x7F]/g, "");
}
const resp = await axios.post("https://se-1.cellsynt.net/sms.php", null, data);
if (resp.data == null || resp.data.includes("Error")) {
throw new Error(resp.data);

Loading…
Cancel
Save