mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Allow long sms in PromoSMS
This commit is contained in:
parent
cc4ed308b0
commit
ecd661c801
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ class PromoSMS extends NotificationProvider {
|
|||
"recipients": [ notification.promosmsPhoneNumber ],
|
||||
//Lets remove non ascii char
|
||||
"text": msg.replace(/[^\x00-\x7F]/g, ""),
|
||||
"long-sms": true,
|
||||
"type": Number(notification.promosmsSMSType),
|
||||
"sender": notification.promosmsSenderName
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue