diff --git a/lib/relation-definition.js b/lib/relation-definition.js index 498945a3..754e5574 100644 --- a/lib/relation-definition.js +++ b/lib/relation-definition.js @@ -1745,7 +1745,7 @@ HasOne.prototype.update = function(targetModelData, options, cb) { this.fetch(function(err, targetModel) { if (targetModel instanceof ModelBaseClass) { delete targetModelData[fk]; - targetModel.updateAttributes(targetModelData, cb); + targetModel.updateAttributes(targetModelData, options, cb); } else { cb(new Error(g.f('{{HasOne}} relation %s is empty', definition.name))); }