Fix findById callback signature

This commit is contained in:
Rand McKinney 2014-10-15 13:45:15 -07:00
parent e4118c367d
commit f511bd38c9
1 changed files with 1 additions and 1 deletions

View File

@ -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) {