mirror of
https://github.com/typicode/json-server.git
synced 2025-07-27 04:02:38 +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 elementValue = _.get(element, path)
|
||||
|
||||
if (elementValue == null) {
|
||||
if (elementValue === undefined) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user