mirror of
https://github.com/typicode/json-server.git
synced 2025-08-02 11:32:47 +08:00
Use lodash-id
This commit is contained in:
@ -34,7 +34,7 @@ function getRemovable (db) {
|
||||
}
|
||||
|
||||
// Return incremented id or uuid
|
||||
// Used to override underscore-db's createId with utils.createId
|
||||
// Used to override lodash-id's createId with utils.createId
|
||||
function createId (coll) {
|
||||
const _ = this
|
||||
const idProperty = _.__id()
|
||||
|
Reference in New Issue
Block a user