1
0
forked from Yara724/api

BUG fix of status

This commit is contained in:
SepehrYahyaee
2026-07-19 16:50:45 +03:30
parent 9fc4ad9931
commit 4058cb4a61

View File

@@ -6810,11 +6810,11 @@ export class ClaimRequestManagementService {
if (!blameRequest) { if (!blameRequest) {
throw new NotFoundException("Blame request not found"); throw new NotFoundException("Blame request not found");
} }
if (blameRequest.status !== BlameCaseStatus.COMPLETED) { // if (blameRequest.status !== BlameCaseStatus.COMPLETED) {
throw new BadRequestException( // throw new BadRequestException(
`Blame request must be COMPLETED. Current status: ${blameRequest.status}`, // `Blame request must be COMPLETED. Current status: ${blameRequest.status}`,
); // );
} // }
if ( if (
!blameRequest.expertInitiated || !blameRequest.expertInitiated ||
blameRequest.creationMethod !== "IN_PERSON" || blameRequest.creationMethod !== "IN_PERSON" ||