forked from Yara724/api
removed guard
This commit is contained in:
@@ -6617,11 +6617,11 @@ export class RequestManagementService {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
await this.verifyExpertAccessForBlameV2(req, expert);
|
await this.verifyExpertAccessForBlameV2(req, expert);
|
||||||
if (req.status !== CaseStatus.WAITING_FOR_SIGNATURES) {
|
// if (req.status !== CaseStatus.WAITING_FOR_SIGNATURES) {
|
||||||
throw new BadRequestException(
|
// throw new BadRequestException(
|
||||||
"Request is not waiting for signatures. Current status: " + req.status,
|
// "Request is not waiting for signatures. Current status: " + req.status,
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
const partyIndex = this.getPartyIndex(req, partyRole);
|
const partyIndex = this.getPartyIndex(req, partyRole);
|
||||||
if (partyIndex === -1) {
|
if (partyIndex === -1) {
|
||||||
throw new BadRequestException(
|
throw new BadRequestException(
|
||||||
|
|||||||
Reference in New Issue
Block a user