Update: invoice_imei to optional

This commit is contained in:
TannedCung 2023-12-06 17:14:56 +07:00
parent f276847f43
commit a39dfe324b

View File

@ -118,7 +118,7 @@ class CtelViewSet(viewsets.ViewSet):
'type': 'string' 'type': 'string'
}, },
}, },
'required': {'imei_files', 'invoice_file'} 'required': {'imei_files'}
} }
}, responses=None, tags=['ocr']) }, responses=None, tags=['ocr'])
@action(detail=False, url_path="images/process", methods=["POST"]) @action(detail=False, url_path="images/process", methods=["POST"])