Skip to content

Commit

Permalink
Fix: loosen request schema
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderleegs committed Aug 23, 2021
1 parent ba9f7af commit 75ec336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validators/RequestSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const FrontMatterSchema = Joi.object({
title: Joi.string().required(),
permalink: Joi.string().required(),
third_nav_title: Joi.string(),
})
}).unknown(true)

const ContentSchema = Joi.object({
frontMatter: FrontMatterSchema.required(),
Expand Down

0 comments on commit 75ec336

Please sign in to comment.