Skip to content

Commit

Permalink
Need to coerce the string 'true' to boolean true in zod schema
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Dec 6, 2024
1 parent 4df6795 commit a06bc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/src/environment/multiRegionConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const regionConfigSchema = regionConfigSchemaV1.extend({
accessKey: z.string(),
secretKey: z.string(),
bucket: z.string(),
createBucketIfNotExists: z.boolean(),
createBucketIfNotExists: z.coerce.boolean(),
s3Region: z.string()
})
})
Expand Down

0 comments on commit a06bc1c

Please sign in to comment.