Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix lint

adilson0c4992bfe489
diff --git a/backend/src/server/routes/v1/approval-policy-routers/approval-policy-endpoints.ts b/backend/src/server/routes/v1/approval-policy-routers/approval-policy-endpoints.ts
index d7e3541c8a..cc2d0feff1 100644
--- a/backend/src/server/routes/v1/approval-policy-routers/approval-policy-endpoints.ts
+++ b/backend/src/server/routes/v1/approval-policy-routers/approval-policy-endpoints.ts
@@ -202,11 +202,7 @@ export const registerApprovalPolicyEndpoints = ({
},
onRequest: verifyAuth([AuthMode.JWT, AuthMode.IDENTITY_ACCESS_TOKEN]),
handler: async (req) => {
- const { policy } = await server.services.approvalPolicy.getById(
- req.params.policyId,
- req.permission,
- policyType
- );
+ const { policy } = await server.services.approvalPolicy.getById(req.params.policyId, req.permission, policyType);
await server.services.auditLog.createAuditLog({
...req.auditLogInfo,