fixed a bug where an error was sent to the updateAttributesCallback and then ignored

This commit is contained in:
Abe BW 2015-11-23 14:07:35 -05:00
parent b6eff7f221
commit 0334766490
1 changed files with 1 additions and 0 deletions

View File

@ -2449,6 +2449,7 @@ DataAccessObject.prototype.updateAttributes = function updateAttributes(data, op
context.data = typedData;
function updateAttributesCallback(err) {
if (err) return cb(err);
var ctx = {
Model: Model,
data: context.data,