Skip to content

Commit

Permalink
fix(api-headless-cms): make field renderer settings either undefined …
Browse files Browse the repository at this point in the history
…or object
  • Loading branch information
Pavel910 committed Jun 5, 2024
1 parent cbdbd7b commit 97d2c99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const fieldSchema = zod.object({
renderer: zod
.object({
name: shortString,
settings: zod.object({}).passthrough().nullable().optional()
settings: zod.object({}).passthrough().optional()
})
.optional()
.nullable()
Expand Down

0 comments on commit 97d2c99

Please sign in to comment.