Skip to content

Commit

Permalink
update pending count
Browse files Browse the repository at this point in the history
  • Loading branch information
Beverly Nguyen authored and Beverly Nguyen committed Dec 31, 2024
1 parent a520e02 commit 67a5662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/service/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _update_statuses_from_row(update_dict, row):
NotificationStatus.VIRUS_SCAN_FAILED,
):
update_dict[StatisticsType.FAILURE] += row.count
elif row.status == NotificationStatus.PENDING:
elif row.status in (NotificationStatus.PENDING, NotificationStatus.CREATED, NotificationStatus.SENDING):
update_dict[StatisticsType.PENDING] += row.count


Expand Down

0 comments on commit 67a5662

Please sign in to comment.