Fix autoupdate queueing automigrate instead (#1762)

Fixes #1761
This commit is contained in:
darthmaim 2019-07-25 20:17:34 +02:00 committed by Diana Lau
parent ca4ede014e
commit dd7167b533
1 changed files with 1 additions and 1 deletions

View File

@ -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