Skip to content

Commit 77800f1

Browse files
WeksikpolRk
authored andcommitted
fix: fixed database connection URL
In the Driver class constructor, replaced `origin` with `host`. `origin` returned `null`, which caused the database connection to fail.
1 parent 27f64d5 commit 77800f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/credentials/static-credentials-auth-service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {IAuthService} from "./i-auth-service";
1212
import {HasLogger} from "../logger/has-logger";
1313
import {Logger} from "../logger/simple-logger";
1414
import {getDefaultLogger} from "../logger/get-default-logger";
15-
import {ensureContext} from "../context";
1615

1716
interface StaticCredentialsAuthOptions {
1817
/** Custom ssl sertificates. If you use it in driver, you must use it here too */

0 commit comments

Comments
 (0)