Merge branch 'require-payload-on-put'

This commit is contained in:
Joey Baker 2016-07-05 19:12:45 -07:00
commit 61fbf434af

View File

@ -204,7 +204,11 @@ export const update = (server, model) => {
reply(instance); reply(instance);
}, },
config: defaultConfig, config: _.defaultsDeep({
validate: {
payload: joi.object().required(),
},
}, defaultConfig),
}); });
}; };