From a39dfe324b91d7c9f3874fca0b18136c0a70ad76 Mon Sep 17 00:00:00 2001 From: TannedCung Date: Wed, 6 Dec 2023 17:14:56 +0700 Subject: [PATCH] Update: invoice_imei to optional --- cope2n-api/fwd_api/api/ctel_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cope2n-api/fwd_api/api/ctel_view.py b/cope2n-api/fwd_api/api/ctel_view.py index 3da94a1..7989bf9 100755 --- a/cope2n-api/fwd_api/api/ctel_view.py +++ b/cope2n-api/fwd_api/api/ctel_view.py @@ -118,7 +118,7 @@ class CtelViewSet(viewsets.ViewSet): 'type': 'string' }, }, - 'required': {'imei_files', 'invoice_file'} + 'required': {'imei_files'} } }, responses=None, tags=['ocr']) @action(detail=False, url_path="images/process", methods=["POST"])