Merge branch 'require-payload-on-put'
This commit is contained in:
commit
61fbf434af
@ -204,7 +204,11 @@ export const update = (server, model) => {
|
|||||||
reply(instance);
|
reply(instance);
|
||||||
},
|
},
|
||||||
|
|
||||||
config: defaultConfig,
|
config: _.defaultsDeep({
|
||||||
|
validate: {
|
||||||
|
payload: joi.object().required(),
|
||||||
|
},
|
||||||
|
}, defaultConfig),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user