feat: address QA analytics and report upload feedback
All checks were successful
All checks were successful
This commit is contained in:
@@ -55,10 +55,11 @@ class FormF5UploadView(APIView):
|
||||
uploaded_file=file,
|
||||
form="f5",
|
||||
user=request.user,
|
||||
report_year=report_year,
|
||||
report_quarter=report_quarter,
|
||||
)
|
||||
|
||||
if file.size > BACKGROUND_THRESHOLD:
|
||||
ReportUploadService.mark_queued(report_upload.id)
|
||||
task = process_form_f5_file.delay(
|
||||
file.read(),
|
||||
file.name,
|
||||
@@ -66,6 +67,7 @@ class FormF5UploadView(APIView):
|
||||
report_quarter,
|
||||
str(report_upload.id),
|
||||
)
|
||||
ReportUploadService.mark_queued(report_upload.id, job_id=task.id)
|
||||
return Response(
|
||||
build_upload_success_payload(
|
||||
form="f5",
|
||||
|
||||
Reference in New Issue
Block a user