Fix: PUT requires a payload to work

This commit is contained in:
Joey Baker 2016-07-05 18:34:56 -07:00
parent 07af23cb5a
commit fee846eb4a

View File

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