From 186c11540f800160abcb9624dba7a9e3f8e7f5bb Mon Sep 17 00:00:00 2001 From: kffl Date: Sat, 27 Nov 2021 13:16:17 +0100 Subject: [PATCH] style(serwersms): add missing trailing commas Co-authored-by: Adam Stachowicz --- server/notification-providers/serwersms.js | 2 +- src/components/notifications/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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