Skip to content

Commit

Permalink
Fixed unexpected arg error
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan committed Dec 2, 2024
1 parent 3601954 commit 0fc65ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/notifications/process_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ def send_notification_to_queue(

# Including sms_sender_id is necessary so the correct sender can be chosen.
# https://docs.celeryq.dev/en/v4.4.7/userguide/canvas.html#immutability
deliver_task, queue = _get_delivery_task(
notification, research_mode, queue, sms_sender_id, notification_id=str(notification.id)
)
deliver_task, queue = _get_delivery_task(notification, research_mode, queue, sms_sender_id)
tasks.append(deliver_task.si(notification_id=str(notification.id), sms_sender_id=sms_sender_id).set(queue=queue))

try:
Expand Down

0 comments on commit 0fc65ca

Please sign in to comment.