mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 04:27:29 +00:00
Chore: Moved verifyApprovers
This commit is contained in:
@@ -54,7 +54,6 @@ export const accessApprovalPolicyServiceFactory = ({
|
|||||||
|
|
||||||
if (approvals > approvers.length)
|
if (approvals > approvers.length)
|
||||||
throw new BadRequestError({ message: "Approvals cannot be greater than approvers" });
|
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(
|
const { permission } = await permissionService.getProjectPermission(
|
||||||
actor,
|
actor,
|
||||||
|
|||||||
Reference in New Issue
Block a user