mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 07:51:13 -05:00
[WIP]
Start to add template_version to jobs and notification
This commit is contained in:
@@ -245,6 +245,7 @@ def sample_job(notify_db,
|
||||
'service_id': service.id,
|
||||
'service': service,
|
||||
'template_id': template.id,
|
||||
'template_version': 1,
|
||||
'original_file_name': 'some.csv',
|
||||
'notification_count': notification_count,
|
||||
'created_at': created_at,
|
||||
@@ -342,6 +343,7 @@ def sample_notification(notify_db,
|
||||
'service_id': service.id,
|
||||
'service': service,
|
||||
'template': template,
|
||||
'template_version': template.version,
|
||||
'status': status,
|
||||
'reference': reference,
|
||||
'created_at': created_at,
|
||||
|
||||
Reference in New Issue
Block a user