reminders: do not include user in querystring when sending SMS (#56732)

This commit is contained in:
Valentin Deniaud 2021-09-07 11:30:26 +02:00
parent 62c85c2f36
commit 128afc42a0
1 changed files with 3 additions and 1 deletions

View File

@ -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()