diff --git a/server/notification-providers/cellsynt.js b/server/notification-providers/cellsynt.js index de0ead0a..5bda2d8e 100644 --- a/server/notification-providers/cellsynt.js +++ b/server/notification-providers/cellsynt.js @@ -9,7 +9,7 @@ class Cellsynt extends NotificationProvider { */ async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Successfully."; - let data = { + const data = { // docs at https://www.cellsynt.com/en/sms/api-integration params: { "username": notification.cellsyntLogin, diff --git a/server/notification.js b/server/notification.js index 154d212b..1d847104 100644 --- a/server/notification.js +++ b/server/notification.js @@ -130,7 +130,7 @@ class Notification { new GoAlert(), new ZohoCliq(), new GtxMessaging(), - new Cellsynt() + new Cellsynt(), ]; for (let item of list) { if (! item.name) { diff --git a/src/components/notifications/index.js b/src/components/notifications/index.js index 0ad56234..b422c493 100644 --- a/src/components/notifications/index.js +++ b/src/components/notifications/index.js @@ -117,7 +117,7 @@ const NotificationFormList = { "ServerChan": ServerChan, "ZohoCliq": ZohoCliq, "gtxmessaging": GtxMessaging, - "Cellsynt": Cellsynt + "Cellsynt": Cellsynt, }; export default NotificationFormList;