mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
Update test
This commit is contained in:
@ -120,7 +120,7 @@ module.exports = (db, name) => {
|
|||||||
const path = key.replace(/(_lte|_gte|_ne|_like)$/, '')
|
const path = key.replace(/(_lte|_gte|_ne|_like)$/, '')
|
||||||
const elementValue = _.get(element, path)
|
const elementValue = _.get(element, path)
|
||||||
|
|
||||||
if (elementValue == null) {
|
if (elementValue === undefined) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user