mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-19 15:44:02 +02:00
fixed code style issues
This commit is contained in:
parent
71106580ba
commit
6cb79798c8
2 changed files with 10 additions and 10 deletions
|
@ -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) {
|
||||
|
|
|
@ -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",
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue