forked from Yara724/api
BUG fix of status
This commit is contained in:
@@ -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" ||
|
||||||
|
|||||||
Reference in New Issue
Block a user