mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Fixed processing of incomplete letter jobs
- `template` argument passed in to `job_complete` should be `template.template_type` otherwise the job status is incorrectly set
This commit is contained in:
@@ -580,4 +580,4 @@ def process_incomplete_job(job_id):
|
||||
if row_number > resume_from_row:
|
||||
process_row(row_number, recipient, personalisation, template, job, job.service)
|
||||
|
||||
job_complete(job, job.service, template, resumed=True)
|
||||
job_complete(job, job.service, template.template_type, resumed=True)
|
||||
|
||||
Reference in New Issue
Block a user