mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Cancelled notifications don't show as failures in statistics
This commit is contained in:
@@ -86,7 +86,7 @@ def _update_statuses_from_row(update_dict, row):
|
||||
update_dict['delivered'] += row.count
|
||||
elif row.status in (
|
||||
'failed', 'technical-failure', 'temporary-failure',
|
||||
'permanent-failure', 'validation-failed', 'virus-scan-failed', 'cancelled'):
|
||||
'permanent-failure', 'validation-failed', 'virus-scan-failed'):
|
||||
update_dict['failed'] += row.count
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user