Fix CAR_GREEN_CARD upload error

This commit is contained in:
SepehrYahyaee
2026-06-28 16:58:53 +03:30
parent 6477778835
commit b9fe1bfd52

View File

@@ -6254,11 +6254,6 @@ export class ClaimRequestManagementService {
);
}
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 (
step === ClaimWorkflowStep.UPLOAD_REQUIRED_DOCUMENTS &&
isCapturePhaseDamagedPartyDocKey(body.documentKey)