1
0
forked from Yara724/api

Merge pull request 'removed guard' (#198) from s.yahyaee/yara724-api:main into main

Reviewed-on: Yara724/api#198
This commit is contained in:
2026-07-18 16:14:59 +03:30

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(