Skip to content

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

fix backend lint

Matheus Nogueira1dabeaeec848
diff --git a/backend/src/ee/services/honey-token/honey-token-types.ts b/backend/src/ee/services/honey-token/honey-token-types.ts
index ead1df624a..b28af01528 100644
--- a/backend/src/ee/services/honey-token/honey-token-types.ts
+++ b/backend/src/ee/services/honey-token/honey-token-types.ts
@@ -39,13 +39,8 @@ export const AwsHoneyTokenConfigSchema = z.object({
.string()
.min(1)
.regex(/^[a-fA-F0-9]+$/, "Signing key must be a hex string"),
- stackName: slugSchema({max: 64, field: 'stackName'})
- .default("infisical-honey-tokens"),
- awsRegion: z
- .string()
- .min(1)
- .default("us-east-1")
- .refine(isValidAwsRegion, "Invalid AWS region")
+ stackName: slugSchema({ max: 64, field: "stackName" }).default("infisical-honey-tokens"),
+ awsRegion: z.string().min(1).default("us-east-1").refine(isValidAwsRegion, "Invalid AWS region")
});
export type TAwsHoneyTokenConfig = z.infer<typeof AwsHoneyTokenConfigSchema>;