mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 17:22:17 -05:00
Fixed build
- passing a single param to a celery task must be done as a list not a tuple.
This commit is contained in:
@@ -131,7 +131,7 @@ def send_sms(self,
|
||||
)
|
||||
)
|
||||
provider_tasks.deliver_sms.apply_async(
|
||||
(notification_id),
|
||||
[notification_id],
|
||||
queue='send-sms' if not service.research_mode else 'research-mode'
|
||||
)
|
||||
|
||||
@@ -173,7 +173,7 @@ def send_email(self, service_id,
|
||||
)
|
||||
|
||||
provider_tasks.deliver_email.apply_async(
|
||||
(notification_id),
|
||||
[notification_id],
|
||||
queue='send-email' if not service.research_mode else 'research-mode'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user