Skip to content

Commit

Permalink
Allow empty content strings in nodes fixes #2067 (#2079)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews authored Sep 11, 2017
1 parent cdda9b3 commit ba21a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/joi-schemas/joi.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const nodeSchema = Joi.object()
type: Joi.string().required(),
owner: Joi.string().required(),
fieldOwners: Joi.array(),
content: Joi.string(),
content: Joi.string().allow(""),
}),
})
.unknown()

0 comments on commit ba21a92

Please sign in to comment.