Use old monthly_billing-related routes for new functions

This commit is contained in:
Pea Tyczynska
2018-07-27 14:41:53 +01:00
parent 4e49df2479
commit b28ec8beda
2 changed files with 6 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ register_errors(billing_blueprint)
@billing_blueprint.route('/ft-monthly-usage')
@billing_blueprint.route('/monthly-usage')
def get_yearly_usage_by_monthly_from_ft_billing(service_id):
try:
year = int(request.args.get('year'))
@@ -44,6 +45,7 @@ def get_yearly_usage_by_monthly_from_ft_billing(service_id):
@billing_blueprint.route('/ft-yearly-usage-summary')
@billing_blueprint.route('/yearly-usage-summary')
def get_yearly_billing_usage_summary_from_ft_billing(service_id):
try:
year = int(request.args.get('year'))