mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
add stats boxes to platform admin page
moved a couple of stats summary functions from dashboard to a shared statistics_utils file
This commit is contained in:
@@ -31,3 +31,9 @@ class StatisticsApiClient(BaseAPIClient):
|
||||
url='/service/{}/notifications-statistics/seven_day_aggregate'.format(service_id),
|
||||
params=params
|
||||
)
|
||||
|
||||
def get_statistics_for_all_services_for_day(self, day):
|
||||
params = {
|
||||
'day': day
|
||||
}
|
||||
return self.get(url='/notifications/statistics', params=params)
|
||||
|
||||
Reference in New Issue
Block a user