Fixed build

- passing a single param to a celery task must be done as a list not a tuple.
This commit is contained in:
Martyn Inglis
2016-09-30 13:34:44 +01:00
parent f7242e007e
commit ad5222442a
4 changed files with 26 additions and 26 deletions

View File

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