Skip to content

Commit

Permalink
env.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu authored Oct 7, 2024
1 parent 55e0f84 commit d42e49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const LavalinkNodeSchema = z.object({
host: z.string(),
port: z.number(),
authorization: z.string(),
secure: z.preprocess(val => (val === 'true' || val === 'false' ? val === 'true' : val), z.boolean().optional()),
secure: z.boolean().optional(),
sessionId: z.string().optional(),
regions: z.string().array().optional(),
retryAmount: z.number().optional(),
Expand Down

0 comments on commit d42e49f

Please sign in to comment.