不要怂,就是干,撸起袖子干!

Commit d890571d by Malte Legenhausen

Fix for #2327

1 parent 2644b19f
Showing with 1 additions and 0 deletions
...@@ -145,6 +145,7 @@ module.exports = (function() { ...@@ -145,6 +145,7 @@ module.exports = (function() {
instancePrototype[this.accessors.create] = function(values, options) { instancePrototype[this.accessors.create] = function(values, options) {
var instance = this; var instance = this;
values = values || {};
options = options || {}; options = options || {};
values[association.identifier] = instance.get(association.sourceIdentifier); values[association.identifier] = instance.get(association.sourceIdentifier);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!