Skip to content

Commit

Permalink
fix: config validation of block imageURL
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikrut committed Dec 31, 2020
1 parent c86731a commit c572057
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fields/config/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ export const blocks = baseField.keys({
blocks: joi.array().items(
joi.object({
slug: joi.string().required(),
blockImage: joi.string(),
imageURL: joi.string(),
imageAltText: joi.string(),
labels: joi.object({
singular: joi.string(),
plural: joi.string(),
Expand Down

0 comments on commit c572057

Please sign in to comment.