Chore: Moved verifyApprovers

This commit is contained in:
Daniel Hougaard
2024-04-09 00:19:43 -07:00
parent af0d31db2c
commit a579598b6d

View File

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