mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 17:22:17 -05:00
Set a notification.status=created in the send_sms task
This commit is contained in:
@@ -155,7 +155,7 @@ def send_sms(self, service_id, notification_id, encrypted_notification, created_
|
||||
service_id=service_id,
|
||||
job_id=notification.get('job', None),
|
||||
job_row_number=notification.get('row_number', None),
|
||||
status='sending',
|
||||
status='created',
|
||||
created_at=datetime.strptime(created_at, DATETIME_FORMAT),
|
||||
personalisation=notification.get('personalisation')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user