From 1bd7f6c81e33927688f1ac15f607067f05ab73ac Mon Sep 17 00:00:00 2001 From: daovietanh99 Date: Thu, 22 Feb 2024 09:18:13 +0700 Subject: [PATCH] UPDATE: add request id field to review object --- cope2n-api/fwd_api/api/accuracy_view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cope2n-api/fwd_api/api/accuracy_view.py b/cope2n-api/fwd_api/api/accuracy_view.py index d769f5a..890c515 100644 --- a/cope2n-api/fwd_api/api/accuracy_view.py +++ b/cope2n-api/fwd_api/api/accuracy_view.py @@ -679,6 +679,7 @@ class AccuracyViewSet(viewsets.ViewSet): for field in ['retailername', 'sold_to_party', 'purchase_date', 'imei_number']: if not field in reviewed_result.keys(): raise RequiredFieldException(excArgs=f'reviewed_result.{field}') + reviewed_result['request_id'] = request_id for subscription_request_file in subscription_request_files: if subscription_request_file.doc_type == 'invoice':