clean up and remove redundancy

This commit is contained in:
jimmoffet
2022-10-04 16:01:30 -07:00
parent b87217c3bf
commit 434b7b2d08
7 changed files with 6 additions and 76 deletions

View File

@@ -114,6 +114,7 @@ def create_delivery_status_callback_data(notification, service_callback_api):
"notification_client_reference": notification.client_reference,
"notification_to": notification.to,
"notification_status": notification.status,
"notification_provider_response": notification.provider_response, # TODO do we have a test for provider_response
"notification_created_at": notification.created_at.strftime(DATETIME_FORMAT),
"notification_updated_at":
notification.updated_at.strftime(DATETIME_FORMAT) if notification.updated_at else None,