2
0
Fork 0

fix(backends.clicksend): replace newline with space
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2024-05-10 19:19:30 +02:00
parent 4c47dffc67
commit f466c33a0f
1 changed files with 1 additions and 1 deletions

View File

@ -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,