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:
@@ -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" ||
|
||||
|
||||
Reference in New Issue
Block a user