forked from Yara724/api
Merge pull request 'Fix CAR_GREEN_CARD upload error' (#161) from s.yahyaee/yara724-api:main into main
Reviewed-on: Yara724/api#161
This commit is contained in:
@@ -6254,11 +6254,6 @@ export class ClaimRequestManagementService {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (options?.v3InPersonFlow) {
|
if (options?.v3InPersonFlow) {
|
||||||
if (body.documentKey === ClaimRequiredDocumentType.CAR_GREEN_CARD) {
|
|
||||||
throw new BadRequestException(
|
|
||||||
"Car green card must be uploaded during other-parts selection, not in the documents step.",
|
|
||||||
);
|
|
||||||
}
|
|
||||||
if (
|
if (
|
||||||
step === ClaimWorkflowStep.UPLOAD_REQUIRED_DOCUMENTS &&
|
step === ClaimWorkflowStep.UPLOAD_REQUIRED_DOCUMENTS &&
|
||||||
isCapturePhaseDamagedPartyDocKey(body.documentKey)
|
isCapturePhaseDamagedPartyDocKey(body.documentKey)
|
||||||
|
|||||||
Reference in New Issue
Block a user