fixed a bug where an error was sent to the updateAttributesCallback and then ignored
This commit is contained in:
parent
b6eff7f221
commit
0334766490
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue