From f511bd38c9a0f5eb4594422afa7221f6bb223aeb Mon Sep 17 00:00:00 2001 From: Rand McKinney Date: Wed, 15 Oct 2014 13:45:15 -0700 Subject: [PATCH] Fix findById callback signature --- lib/persisted-model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/persisted-model.js b/lib/persisted-model.js index 62856285..6140e899 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -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) {