reminders: do not include user in querystring when sending SMS (#56732)
This commit is contained in:
parent
62c85c2f36
commit
128afc42a0
|
@ -127,7 +127,9 @@ class Command(BaseCommand):
|
|||
|
||||
try:
|
||||
with atomic():
|
||||
request = requests.post(settings.SMS_URL, json=payload, remote_service='auto', timeout=10)
|
||||
request = requests.post(
|
||||
settings.SMS_URL, json=payload, remote_service='auto', timeout=10, without_user=True
|
||||
)
|
||||
request.raise_for_status()
|
||||
booking.reminder_datetime = timezone.now()
|
||||
booking.save()
|
||||
|
|
Loading…
Reference in New Issue