Skip to content

Commit

Permalink
fix: TypeError: Cannot destructure property authInfo of 'undefined' o…
Browse files Browse the repository at this point in the history
…r 'null'.
  • Loading branch information
paveltiunov committed Oct 14, 2019
1 parent 7ec7018 commit 1886d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-server-core/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class CubejsServerCore {

async getDriver() {
if (!this.driver) {
const driver = this.driverFactory();
const driver = this.driverFactory({});
await driver.testConnection(); // TODO mutex
this.driver = driver;
}
Expand Down

0 comments on commit 1886d13

Please sign in to comment.