From 01b12023a102b69fbb0916e3cf67fd9ee48840cb Mon Sep 17 00:00:00 2001 From: Slincnik Date: Tue, 14 Jan 2025 23:51:12 +0300 Subject: [PATCH] fix: fixing config instance npt private --- src/services/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/config/index.ts b/src/services/config/index.ts index 9983d25d..6e9bb96b 100644 --- a/src/services/config/index.ts +++ b/src/services/config/index.ts @@ -3,7 +3,7 @@ import { CONFIG_PATH } from "@/constants/index.js"; import logger from "@/helpers/logger.js"; class ConfigService { - config = this.loadConfig(); + private config = this.loadConfig(); get(key: string): T { const keys = key.split(".");