removed guard

This commit is contained in:
SepehrYahyaee
2026-07-18 16:14:27 +03:30
parent 59a1b9064e
commit 7241ae3270

View File

@@ -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(