feat(infisical-pg): completed secret rollback

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:23 +05:30
parent 784cdb4201
commit b5aa6c0000
57 changed files with 2017 additions and 453 deletions
@@ -134,7 +134,7 @@ export const secretApprovalPolicyServiceFactory = ({
projectId: secretApprovalPolicy.projectId,
$in: { id: approvers }
},
tx
{ tx }
);
if (secretApprovers.length !== approvers.length)
throw new BadRequestError({ message: "Approver not found in project" });