Fix: crud: GET id's can be strings or numbers

This commit is contained in:
Joey Baker 2016-06-29 21:30:20 -07:00
parent 3f419284be
commit 0698a8a3ad

View File

@ -63,7 +63,7 @@ export const get = (server, model) => {
config: _.defaultsDeep({
validate: {
params: joi.object().keys({
id: joi.number().integer()
id: joi.any()
})
}
}, defaultConfig)