Skip to content

Commit

Permalink
fix: Snowflake driver config var typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Jun 26, 2019
1 parent ad2cc03 commit d729b9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cubejs-snowflake-driver/driver/SnowflakeDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ class SnowflakeDriver extends BaseDriver {
password: process.env.CUBEJS_DB_PASS,
...config
};
const connection = snowflake.createConnection(config);
const connection = snowflake.createConnection(this.config);
this.initialConnectPromise = new Promise(
(resolve, reject) => connection.connect((err, conn) => (err ? reject(err) : resolve(conn)))
);
this.config = config;
}

static driverEnvVariables() {
Expand Down

0 comments on commit d729b9d

Please sign in to comment.