Update server/notification-providers/cellsynt.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/4625/head
Simon Nilsson 1 month ago committed by GitHub
parent 2e12fb2f29
commit 5ce5697c36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -26,9 +26,8 @@ class Cellsynt extends NotificationProvider {
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);
} else {
return okMsg;
}
return okMsg;
} catch (error) {
this.throwGeneralAxiosError(error);
}

Loading…
Cancel
Save