mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Chore: Moved verifyApprovers
This commit is contained in:
@@ -54,7 +54,6 @@ export const accessApprovalPolicyServiceFactory = ({
|
||||
|
||||
if (approvals > approvers.length)
|
||||
throw new BadRequestError({ message: "Approvals cannot be greater than approvers" });
|
||||
if (!secretPath) throw new BadRequestError({ message: "Secret path is required" });
|
||||
|
||||
const { permission } = await permissionService.getProjectPermission(
|
||||
actor,
|
||||
|
||||
Reference in New Issue
Block a user