From dd7167b533c620824252aeb827fa662054e5d4ce Mon Sep 17 00:00:00 2001 From: darthmaim Date: Thu, 25 Jul 2019 20:17:34 +0200 Subject: [PATCH] Fix autoupdate queueing automigrate instead (#1762) Fixes #1761 --- lib/datasource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datasource.js b/lib/datasource.js index 339fb00f8..6b6fe32e8 100644 --- a/lib/datasource.js +++ b/lib/datasource.js @@ -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