Skip to content

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

fix: corrected update backend schema

=273a8995009d
diff --git a/backend/src/services/approval-policy/approval-policy-schemas.ts b/backend/src/services/approval-policy/approval-policy-schemas.ts
index 3c47b2c6bd..d912e3245b 100644
--- a/backend/src/services/approval-policy/approval-policy-schemas.ts
+++ b/backend/src/services/approval-policy/approval-policy-schemas.ts
@@ -47,7 +47,7 @@ export const BaseCreateApprovalPolicySchema = z.object({
export const BaseUpdateApprovalPolicySchema = z.object({
name: z.string().min(1).max(128).optional(),
- maxRequestTtlSeconds: MaxRequestTtlSchema.nullable().optional(),
+ maxRequestTtl: MaxRequestTtlSchema.nullable().optional(),
steps: ApprovalPolicyStepSchema.array().optional()
});