Fix findById callback signature
This commit is contained in:
parent
e4118c367d
commit
f511bd38c9
|
@ -128,7 +128,7 @@ PersistedModel.exists = function exists(id, cb) {
|
|||
* Find object by ID.
|
||||
*
|
||||
* @param {*} id - primary key value
|
||||
* @param {Function} cb Callback function called with `(err, returned-instance)`. Required.
|
||||
* @param {Function} cb Callback function called with `(err, instances)`. Required.
|
||||
*/
|
||||
|
||||
PersistedModel.findById = function find(id, cb) {
|
||||
|
|
Loading…
Reference in New Issue