diff --git a/server/notification-providers/serwersms.js b/server/notification-providers/serwersms.js index 9f75982f..14fe691a 100644 --- a/server/notification-providers/serwersms.js +++ b/server/notification-providers/serwersms.js @@ -19,7 +19,7 @@ class SerwerSMS extends NotificationProvider { "password": notification.serwersmsPassword, "phone": notification.serwersmsPhoneNumber, "text": msg.replace(/[^\x00-\x7F]/g, ""), - "sender": notification.serwersmsSenderName + "sender": notification.serwersmsSenderName, }; let resp = await axios.post("https://api2.serwersms.pl/messages/send_sms", data, config); diff --git a/src/components/notifications/index.js b/src/components/notifications/index.js index 9ade03a1..bb71fba0 100644 --- a/src/components/notifications/index.js +++ b/src/components/notifications/index.js @@ -54,7 +54,7 @@ const NotificationFormList = { "matrix": Matrix, "DingDing": DingDing, "Bark": Bark, - "serwersms": SerwerSMS + "serwersms": SerwerSMS, } export default NotificationFormList