diff --git a/backend/src/ee/routes/v1/external-kms-router.ts b/backend/src/ee/routes/v1/external-kms-router.ts index 39cd6d878..a029e1cb8 100644 --- a/backend/src/ee/routes/v1/external-kms-router.ts +++ b/backend/src/ee/routes/v1/external-kms-router.ts @@ -58,7 +58,7 @@ export const registerExternalKmsRouter = async (server: FastifyZodProvider) => { schema: { body: z.object({ slug: z.string().min(1).trim().toLowerCase(), - description: z.string().min(1).trim().optional(), + description: z.string().trim().optional(), provider: ExternalKmsInputSchema }), response: { @@ -109,7 +109,7 @@ export const registerExternalKmsRouter = async (server: FastifyZodProvider) => { }), body: z.object({ slug: z.string().min(1).trim().toLowerCase().optional(), - description: z.string().min(1).trim().optional(), + description: z.string().trim().optional(), provider: ExternalKmsInputUpdateSchema }), response: {