mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-18 08:05:08 -05:00
Fixed download bug for services with api notifications. Re-organised the mock job and job_json methods.
This commit is contained in:
@@ -104,7 +104,7 @@ def generate_notifications_csv(json_list):
|
||||
x['to'],
|
||||
x['template']['name'],
|
||||
x['template']['template_type'],
|
||||
x['job']['original_file_name'],
|
||||
x['job']['original_file_name'] if x['job'] else '',
|
||||
x['status'],
|
||||
format_datetime(x['created_at'])])
|
||||
retval = content.getvalue()
|
||||
|
||||
Reference in New Issue
Block a user