mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
Create platform-stats blueprint
Created a platform-stats blueprint and moved the new platform stats endpoint to the new blueprint (it was previously in the service blueprint). Since the original platform stats route and the new platform stats route are now in different blueprints, their view functions can have the same name without any issues.
This commit is contained in:
@@ -612,7 +612,7 @@ def guess_notification_type(search_term):
|
||||
|
||||
|
||||
@statsd(namespace='dao')
|
||||
def fetch_new_aggregate_stats_by_date_range_for_all_services(start_date, end_date):
|
||||
def fetch_aggregate_stats_by_date_range_for_all_services(start_date, end_date):
|
||||
start_date = get_london_midnight_in_utc(start_date)
|
||||
end_date = get_london_midnight_in_utc(end_date + timedelta(days=1))
|
||||
table = NotificationHistory
|
||||
|
||||
Reference in New Issue
Block a user