From 77800f1502f27dabe74c21d71c0c66d4e26062ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D1=87=D0=B5=D0=BD=D0=BA=D0=BE=20=D0=92?= =?UTF-8?q?=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20=D0=92=D0=B0?= =?UTF-8?q?=D0=BB=D0=B5=D1=80=D1=8C=D0=B5=D0=B2=D0=B8=D1=87?= Date: Sat, 15 Feb 2025 23:13:39 +0300 Subject: [PATCH] fix: fixed database connection URL In the Driver class constructor, replaced `origin` with `host`. `origin` returned `null`, which caused the database connection to fail. --- src/credentials/static-credentials-auth-service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/credentials/static-credentials-auth-service.ts b/src/credentials/static-credentials-auth-service.ts index 18b78e29..aa7e5ac2 100644 --- a/src/credentials/static-credentials-auth-service.ts +++ b/src/credentials/static-credentials-auth-service.ts @@ -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 */