Update job.notifications_delivered and job.notifications_failed count when updating the status of a notification.

This commit is contained in:
Rebecca Law
2016-05-24 11:31:44 +01:00
parent dff60175a4
commit e4eecb894a
3 changed files with 93 additions and 61 deletions

View File

@@ -281,7 +281,7 @@ def sample_email_job(notify_db,
service=service)
job_id = uuid.uuid4()
data = {
'id': uuid.uuid4(),
'id': job_id,
'service_id': service.id,
'service': service,
'template_id': template.id,