Skip to content

Commit

Permalink
Fix autoupdate queueing automigrate instead (#1762)
Browse files Browse the repository at this point in the history
Fixes #1761
  • Loading branch information
darthmaim authored and dhmlau committed Jul 25, 2019
1 parent ca4ede0 commit dd7167b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ DataSource.prototype.autoupdate = function(models, cb) {
}

const args = [models, cb];
args.callee = this.automigrate;
args.callee = this.autoupdate;
const queued = this.ready(this, args);
if (queued) {
// waiting to connect
Expand Down

0 comments on commit dd7167b

Please sign in to comment.