Skip to content

Commit

Permalink
fix: fixed database connection URL
Browse files Browse the repository at this point in the history
In the Driver class constructor, replaced `origin` with `host`.
`origin` returned `null`, which caused the database connection to fail.
  • Loading branch information
Weksik authored and polRk committed Feb 15, 2025
1 parent 27f64d5 commit 77800f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/credentials/static-credentials-auth-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {IAuthService} from "./i-auth-service";
import {HasLogger} from "../logger/has-logger";
import {Logger} from "../logger/simple-logger";
import {getDefaultLogger} from "../logger/get-default-logger";
import {ensureContext} from "../context";

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

0 comments on commit 77800f1

Please sign in to comment.