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

Commit 5583385a by Mick Hansen

Merge pull request #2334 from werk85/master

Fix create include parameter
2 parents a0e90292 dc069be5
Showing with 2 additions and 1 deletions
......@@ -1026,7 +1026,8 @@ module.exports = (function() {
return this.build(values, {
isNewRecord: true,
attributes: options.fields
attributes: options.fields,
include: options.include
}).save(options);
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!