From a87c2908934dc882d7eae4690f26533415c73d18 Mon Sep 17 00:00:00 2001 From: Fang-Pen Lin Date: Fri, 24 Oct 2025 12:27:35 -0700 Subject: [PATCH] Fix linter problem --- .../ee/services/pam-resource/mysql/mysql-resource-schemas.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts b/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts index 5f5a033c3..6c430c9b1 100644 --- a/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts +++ b/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts @@ -61,8 +61,7 @@ export const MySQLAccountSchema = BasePamAccountSchema.extend({ export const CreateMySQLAccountSchema = BaseCreatePamAccountSchema.extend({ credentials: MySQLAccountCredentialsSchema, // We don't support pwd rotation for mysql yet - rotationEnabled: z.boolean().optional(), - rotationIntervalSeconds: z.number().optional() + rotationEnabled: z.boolean().default(false) }); export const UpdateMySQLAccountSchema = BaseUpdatePamAccountSchema.extend({