fix: fixing config instance npt private

This commit is contained in:
Slincnik 2025-01-14 23:51:12 +03:00
parent a0309c164a
commit 01b12023a1
No known key found for this signature in database

View file

@ -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<T>(key: string): T {
const keys = key.split(".");