Merge pull request #45 from SDSRV-IDP/vietanh99-request-detail

Vietanh99 request detail
This commit is contained in:
Đỗ Xuân Tân 2024-02-21 16:35:05 +07:00 committed by GitHub Enterprise
commit 51c67258e7

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,