mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-15 07:18:09 -04:00
Updated BE code to breakdown stats by hour instead of day
This commit is contained in:
@@ -282,10 +282,12 @@ def get_service_statistics_for_specific_days_by_user(
|
||||
service_id, start_date, end_date, user_id
|
||||
)
|
||||
|
||||
stats = get_specific_days_stats(
|
||||
hours = days * 24
|
||||
|
||||
stats = get_specific_hours_stats(
|
||||
results,
|
||||
start_date,
|
||||
days=days,
|
||||
hours=hours,
|
||||
total_notifications=total_notifications,
|
||||
)
|
||||
return stats
|
||||
|
||||
Reference in New Issue
Block a user