mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
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:
@@ -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({
|
||||
|
||||
@@ -133,7 +133,6 @@ export const updateCertificate = async (
|
||||
name?: string;
|
||||
certificateData?: string;
|
||||
privateKey?: string;
|
||||
autoRenew?: boolean;
|
||||
},
|
||||
) => {
|
||||
const updated = await db
|
||||
|
||||
Reference in New Issue
Block a user