Merge pull request #438 from kwiky/docs/fixes
Fix "callbacl" by "callback" in doc
This commit is contained in:
commit
b3fbefdbb7
|
@ -128,7 +128,7 @@ PersistedModel.findOrCreate._delegate = true;
|
|||
* Check whether a model instance exists in database
|
||||
*
|
||||
* @param {id} id - identifier of object (primary key value)
|
||||
* @param {Function} cb - callbacl called with (err, exists: Bool)
|
||||
* @param {Function} cb - callback called with (err, exists: Bool)
|
||||
*/
|
||||
|
||||
PersistedModel.exists = function exists(id, cb) {
|
||||
|
|
Loading…
Reference in New Issue