FIX: split function

This commit is contained in:
daovietanh99 2024-02-21 16:32:27 +07:00
parent 668f48afb5
commit 6c66fa1263

View File

@ -588,7 +588,7 @@ class RequestViewSet(viewsets.ViewSet):
'File Name': subscription_request_file.file_name,
'File Path': subscription_request_file.file_path,
'File Category': subscription_request_file.file_category,
'File URL': build_media_url_v2(subscription_request_file.file_name.split['.'][0], user_id, sub_id, sync_id),
'File URL': build_media_url_v2(subscription_request_file.file_name.split('.')[0], user_id, sub_id, sync_id),
'Origin_Name': subscription_request_file.origin_name,
'Is Bad Image Quality': subscription_request_file.is_bad_image_quality,
'Doc Type': subscription_request_file.doc_type,