add endpoint for 'recent' notifications

This commit is contained in:
Kenneth Kehl
2025-01-30 13:20:51 -08:00
parent aaf2685d46
commit 240ec5a712
3 changed files with 91 additions and 1 deletions

View File

@@ -694,7 +694,12 @@ def get_single_month_notification_stats_by_user(service_id, user_id):
service_id, start_date, end_date, user_id
)
stats = get_specific_days_stats(results, start_date, end_date=end_date, total_notifications=total_notifications,)
stats = get_specific_days_stats(
results,
start_date,
end_date=end_date,
total_notifications=total_notifications,
)
return jsonify(stats)