Error: Callback was already called
jbpineiroc opened this issue · 1 comments
jbpineiroc commented
When you set multiple database connections throw Error: Callback was already called
. I think that the problem is in line 203 Promise.all(syncTasks).then(() => next()).catch(e => next(e));
, it must be out of for (connectionName in datastores)
statament scope.
Regards
KSDaemon commented
Hi @jbpineiro ! Thanks for pointing! Indeed.