Allow long sms in PromoSMS

This commit is contained in:
Luke 2023-01-11 12:06:09 +01:00 committed by GitHub
parent cc4ed308b0
commit ecd661c801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
};