Pushed the notifications from the CSV in the DB queue

This commit is contained in:
Martyn Inglis
2016-08-30 17:27:01 +01:00
parent 668e6c9716
commit e640e048e5
2 changed files with 5 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ def process_job(job_id):
create_uuid(),
encrypted,
datetime.utcnow().strftime(DATETIME_FORMAT)),
queue='bulk-sms'
queue='db-sms'
)
if template.template_type == EMAIL_TYPE:
@@ -93,7 +93,7 @@ def process_job(job_id):
create_uuid(),
encrypted,
datetime.utcnow().strftime(DATETIME_FORMAT)),
queue='bulk-email')
queue='db-email')
finished = datetime.utcnow()
job.status = 'finished'