Skip to content

Commit d5af1cb

Browse files
committed
fix: set default token path
1 parent a2b277b commit d5af1cb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,7 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface {
394394
}
395395

396396
private async readOAuthToken() {
397-
const tokenPath = this.config.oauthTokenPath;
398-
399-
if (!tokenPath) {
400-
return undefined;
401-
}
397+
const tokenPath = this.config.oauthTokenPath || '/snowflake/session/token';
402398

403399
try {
404400
await fs.access(tokenPath);

0 commit comments

Comments
 (0)