fix(backends.clicksend): replace newline with space

pull/1/head
Luca 8 months ago
parent 4c47dffc67
commit f466c33a0f

@ -75,7 +75,7 @@ class Sender(BaseSender):
messages=[ messages=[
SmsMessage( SmsMessage(
_from=settings.SMS_SETTINGS["clicksend_sender_id"], _from=settings.SMS_SETTINGS["clicksend_sender_id"],
body=message.text, body=message.text.replace("\n", " "),
to=message.recipient, to=message.recipient,
source="shiftregister", source="shiftregister",
custom_string=message.key, custom_string=message.key,

Loading…
Cancel
Save