Skip to content

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

Fix linter problem

Fang-Pen Lina87c2908934d
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 5f5a033c33..6c430c9b1d 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({