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,
"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) {

View file

@ -12,12 +12,12 @@
<div class="mb-3">
<label for="smsplanet-phone-numbers" class="form-label">{{ $t("smsplanetPhoneNumber") }}</label>
<textarea
id="smsplanet-phone-numbers"
v-model="$parent.notification.smsplanetPhoneNumbers"
class="form-control"
:placeholder="smsplanetPhoneNumbers"
required
></textarea>
id="smsplanet-phone-numbers"
v-model="$parent.notification.smsplanetPhoneNumbers"
class="form-control"
:placeholder="smsplanetPhoneNumbers"
required
></textarea>
</div>
<div class="mb-3">
<label for="smsplanet-sender-name" class="form-label">{{ $t("smsplanetSenderName") }}</label>
@ -35,7 +35,7 @@ export default {
computed: {
smsplanetPhoneNumbers() {
return this.$t("Example:", [
`+48123456789,+48111222333`,
"+48123456789,+48111222333",
]);
}
}