Skip to content

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

expires should be required

Fang-Pen Lina7f773b78fa0
diff --git a/backend/src/db/schemas/pki-acme-orders.ts b/backend/src/db/schemas/pki-acme-orders.ts
index 5ed58e4e9f..6d5274f062 100644
--- a/backend/src/db/schemas/pki-acme-orders.ts
+++ b/backend/src/db/schemas/pki-acme-orders.ts
@@ -15,7 +15,7 @@ export const PkiAcmeOrdersSchema = z.object({
updatedAt: z.date(),
notBefore: z.date().nullable().optional(),
notAfter: z.date().nullable().optional(),
- expiresAt: z.date().nullable().optional()
+ expiresAt: z.date()
});
export type TPkiAcmeOrders = z.infer<typeof PkiAcmeOrdersSchema>;