Fix typo
This commit is contained in:
parent
9b675ef3dc
commit
79eabf3cf9
|
@ -1022,7 +1022,7 @@ DataAccessObject.remove = DataAccessObject.deleteAll = DataAccessObject.destroyA
|
|||
}
|
||||
|
||||
function done(err, data) {
|
||||
if (err) return cb(er);
|
||||
if (err) return cb(err);
|
||||
|
||||
if (options.notify === false) {
|
||||
return cb(err, data);
|
||||
|
|
Loading…
Reference in New Issue