Skip to content

Conversation

@clayrisser
Copy link
Contributor

Fixed issue #67

createJoiValidationRules: function(route) {

route.config.validate.body = route.config.validate.payload // hapi compatibility
if (route.config.validate.payload) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is needed as it will be undefined so ignore by JOI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants