Rename get_usage_for_all_services to get_data_for_billing_report

That describes what it does more correctly. As it does not include
services with no usage.
This commit is contained in:
Pea Tyczynska
2021-03-08 17:53:16 +00:00
parent 100d47f4e8
commit dd278a0567
2 changed files with 10 additions and 5 deletions

View File

@@ -59,7 +59,8 @@ def validate_date_range_is_within_a_financial_year(start_date, end_date):
@platform_stats_blueprint.route('usage-for-all-services')
def get_usage_for_all_services():
@platform_stats_blueprint.route('data-for-billing-report')
def get_data_for_billing_report():
start_date = request.args.get('start_date')
end_date = request.args.get('end_date')