Skip to content

Commit 576c7bc

Browse files
committed
update authProps
1 parent f9d7fb9 commit 576c7bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-databricks-jdbc-driver/src/DatabricksDriver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export class DatabricksDriver extends JDBCDriver {
230230

231231
const user = uid || 'token';
232232

233-
let authProps = {};
233+
let authProps: Record<string, any> = {};
234234

235235
// OAuth has an advantage over UID+PWD
236236
// For magic numbers below - see Databricks docs:
@@ -244,7 +244,7 @@ export class DatabricksDriver extends JDBCDriver {
244244
};
245245
} else {
246246
authProps = {
247-
UID: user,
247+
user,
248248
PWD: passwd,
249249
AuthMech: 3,
250250
};

0 commit comments

Comments
 (0)