Fix "callbacl" by "callback" in doc
This commit is contained in:
parent
b66a36fd3c
commit
7b94f7a139
|
@ -128,7 +128,7 @@ PersistedModel.findOrCreate._delegate = true;
|
||||||
* Check whether a model instance exists in database
|
* Check whether a model instance exists in database
|
||||||
*
|
*
|
||||||
* @param {id} id - identifier of object (primary key value)
|
* @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) {
|
PersistedModel.exists = function exists(id, cb) {
|
||||||
|
|
Loading…
Reference in New Issue