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(/🔴/, "❌")
|
||||
}
|
||||
};
|
||||
|
||||
let response = await axios.post(url, data, config);
|
||||
if (!response.data?.messageId) {
|
||||
|
|
|
@ -35,7 +35,7 @@ export default {
|
|||
computed: {
|
||||
smsplanetPhoneNumbers() {
|
||||
return this.$t("Example:", [
|
||||
`+48123456789,+48111222333`,
|
||||
"+48123456789,+48111222333",
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue