fixed code style issues

This commit is contained in:
Dawid Pierwoła 2025-04-25 18:53:57 +02:00
parent 71106580ba
commit 6cb79798c8
2 changed files with 10 additions and 10 deletions

View file

@ -17,13 +17,13 @@ class SMSPlanet extends NotificationProvider {
"Authorization": "Bearer " + notification.smsplanetApiToken, "Authorization": "Bearer " + notification.smsplanetApiToken,
"content-type": "multipart/form-data" "content-type": "multipart/form-data"
} }
} };
let data = { let data = {
"from": notification.smsplanetSenderName, "from": notification.smsplanetSenderName,
"to": notification.smsplanetPhoneNumbers, "to": notification.smsplanetPhoneNumbers,
"msg": msg.replace(/🔴/, "❌") "msg": msg.replace(/🔴/, "❌")
} };
let response = await axios.post(url, data, config); let response = await axios.post(url, data, config);
if (!response.data?.messageId) { if (!response.data?.messageId) {

View file

@ -35,7 +35,7 @@ export default {
computed: { computed: {
smsplanetPhoneNumbers() { smsplanetPhoneNumbers() {
return this.$t("Example:", [ return this.$t("Example:", [
`+48123456789,+48111222333`, "+48123456789,+48111222333",
]); ]);
} }
} }