From 79eabf3cf97b5db3aaf257986f3258a984fcb4cc Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Wed, 4 Feb 2015 08:30:13 -0800 Subject: [PATCH] Fix typo --- lib/dao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dao.js b/lib/dao.js index 27688a57..252fb7fe 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -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);