1
0
forked from Yara724/api

Merge pull request 'BUG fix of status' (#201) from s.yahyaee/yara724-api:main into main

Reviewed-on: Yara724/api#201
This commit is contained in:
2026-07-19 16:51:15 +03:30

View File

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