forked from Yara724/api
BUG fix of status
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