From 6cb79798c870019f87519914f7359bf2f9bfe6f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Pierwo=C5=82a?= Date: Fri, 25 Apr 2025 18:53:57 +0200 Subject: [PATCH] fixed code style issues --- server/notification-providers/sms-planet.js | 6 +++--- src/components/notifications/SMSPlanet.vue | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) 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 @@
+ id="smsplanet-phone-numbers" + v-model="$parent.notification.smsplanetPhoneNumbers" + class="form-control" + :placeholder="smsplanetPhoneNumbers" + required + >
@@ -35,7 +35,7 @@ export default { computed: { smsplanetPhoneNumbers() { return this.$t("Example:", [ -`+48123456789,+48111222333`, + "+48123456789,+48111222333", ]); } }