Removing total_notification calculations.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2025-01-10 16:52:30 -05:00
parent 467357c031
commit 3f8c49d829
3 changed files with 6 additions and 67 deletions

View File

@@ -230,18 +230,13 @@ def get_service_statistics_for_specific_days(service_id, start, days=1):
end_date = datetime.strptime(start, "%Y-%m-%d")
start_date = end_date - timedelta(days=days - 1)
total_notifications, results = dao_fetch_stats_for_service_from_days(
results = dao_fetch_stats_for_service_from_days(
service_id,
start_date,
end_date,
)
stats = get_specific_days_stats(
results,
start_date,
days=days,
total_notifications=total_notifications,
)
stats = get_specific_days_stats(results, start_date, days=days)
return stats