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:
@@ -6617,11 +6617,11 @@ export class RequestManagementService {
|
||||
);
|
||||
}
|
||||
await this.verifyExpertAccessForBlameV2(req, expert);
|
||||
if (req.status !== CaseStatus.WAITING_FOR_SIGNATURES) {
|
||||
throw new BadRequestException(
|
||||
"Request is not waiting for signatures. Current status: " + req.status,
|
||||
);
|
||||
}
|
||||
// if (req.status !== CaseStatus.WAITING_FOR_SIGNATURES) {
|
||||
// throw new BadRequestException(
|
||||
// "Request is not waiting for signatures. Current status: " + req.status,
|
||||
// );
|
||||
// }
|
||||
const partyIndex = this.getPartyIndex(req, partyRole);
|
||||
if (partyIndex === -1) {
|
||||
throw new BadRequestException(
|
||||
|
||||
Reference in New Issue
Block a user