We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a4067d commit 7e588a0Copy full SHA for 7e588a0
lib/Model.js
@@ -285,8 +285,8 @@ function Model(opts) {
285
}, function (cb) {
286
return createInstance(data[0], {
287
uid : uid,
288
- autoSave : opts.autoSave,
289
- autoFetch : (options.autoFetchLimit === 0 ? false : opts.autoFetch),
+ autoSave : options.autoSave,
+ autoFetch : (options.autoFetchLimit === 0 ? false : options.autoFetch),
290
autoFetchLimit : options.autoFetchLimit,
291
cascadeRemove : options.cascadeRemove
292
}, cb);
0 commit comments