mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 04:32:24 +08:00
fix: minor
This commit is contained in:
@ -28,7 +28,7 @@ module.exports = function (source, cb) {
|
||||
|
||||
} else if (is.JSON(source)) {
|
||||
|
||||
data = low(source, { storage: fileAsync }).object
|
||||
data = low(source, { storage: fileAsync }).state()
|
||||
cb(null, data)
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user