diff --git a/backend/app/routes/usage_routes.py b/backend/app/routes/usage_routes.py index 3604661..533fdec 100644 --- a/backend/app/routes/usage_routes.py +++ b/backend/app/routes/usage_routes.py @@ -37,7 +37,8 @@ class TranscriptionExport(Resource): "company_id": request.args.get("companyId", type=str), "start_date": request.args.get("startDate"), "end_date": request.args.get("endDate"), - "who": request.args.get("who", type=str) + "who": request.args.get("who", type=str), + "totalCost": request.args.get("totalCost", type=str, default="true") } validated = TranscriptionRequest(**data) @@ -93,9 +94,7 @@ class TranscriptionUsageData(Resource): """ Get transcription report data. """ - - print('request.args.get("totalCost"): ', request.args.get("totalCost")) - + data = { "company_id": request.args.get("companyId", type=str), "start_date": request.args.get("startDate"),