Skip to content

Commit d729b9d

Browse files
committed
fix: Snowflake driver config var typo
1 parent ad2cc03 commit d729b9d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cubejs-snowflake-driver/driver/SnowflakeDriver.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ class SnowflakeDriver extends BaseDriver {
1313
password: process.env.CUBEJS_DB_PASS,
1414
...config
1515
};
16-
const connection = snowflake.createConnection(config);
16+
const connection = snowflake.createConnection(this.config);
1717
this.initialConnectPromise = new Promise(
1818
(resolve, reject) => connection.connect((err, conn) => (err ? reject(err) : resolve(conn)))
1919
);
20-
this.config = config;
2120
}
2221

2322
static driverEnvVariables() {

0 commit comments

Comments
 (0)