fix: solved report export xlsx 400 error

master
adriano 2025-09-05 15:42:20 -03:00
parent 1061aa9981
commit 50f5ce81bf
1 changed files with 3 additions and 4 deletions

View File

@ -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)
@ -94,8 +95,6 @@ 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"),