refactor(certificate): remove auto-renew field from certificate handling

- Eliminated the `autoRenew` field from the certificate schema, API router, and related components to streamline certificate management.
- Updated form handling and validation logic accordingly to reflect the removal of the auto-renew feature.
This commit is contained in:
Mauricio Siu
2026-04-03 23:00:27 -06:00
parent 092212e225
commit 92caee5a77
4 changed files with 0 additions and 25 deletions

View File

@@ -56,7 +56,6 @@ export const apiUpdateCertificate = z.object({
name: z.string().min(1).optional(),
certificateData: z.string().min(1).optional(),
privateKey: z.string().min(1).optional(),
autoRenew: z.boolean().optional(),
});
export const apiDeleteCertificate = z.object({

View File

@@ -133,7 +133,6 @@ export const updateCertificate = async (
name?: string;
certificateData?: string;
privateKey?: string;
autoRenew?: boolean;
},
) => {
const updated = await db