diff --git a/server/notification-providers/sms-planet.js b/server/notification-providers/sms-planet.js index 275771040..97e9e715e 100644 --- a/server/notification-providers/sms-planet.js +++ b/server/notification-providers/sms-planet.js @@ -17,13 +17,13 @@ class SMSPlanet extends NotificationProvider { "Authorization": "Bearer " + notification.smsplanetApiToken, "content-type": "multipart/form-data" } - } + }; let data = { "from": notification.smsplanetSenderName, "to": notification.smsplanetPhoneNumbers, - "msg": msg.replace(/🔴/, "❌") - } + "msg": msg.replace(/🔴/, "❌") + }; let response = await axios.post(url, data, config); if (!response.data?.messageId) { diff --git a/src/components/notifications/SMSPlanet.vue b/src/components/notifications/SMSPlanet.vue index 391470f55..da2e15361 100644 --- a/src/components/notifications/SMSPlanet.vue +++ b/src/components/notifications/SMSPlanet.vue @@ -12,12 +12,12 @@