Rename usage report to billing report

Because only services with bills to pay are included, and
we started including billing details.

Also rename endpoints and file names to match this.
This commit is contained in:
Pea Tyczynska
2021-03-15 18:04:01 +00:00
parent 95f46ced8a
commit 38cfee6390
6 changed files with 17 additions and 17 deletions

View File

@@ -34,8 +34,8 @@ class BillingAPIClient(NotifyAdminAPIClient):
data=data
)
def get_usage_for_all_services(self, start_date, end_date):
return self.get(url='/platform-stats/usage-for-all-services',
def get_data_for_billing_report(self, start_date, end_date):
return self.get(url='/platform-stats/data-for-billing-report',
params={
'start_date': str(start_date),
'end_date': str(end_date),