update configs

This commit is contained in:
Egor Svitin
2023-02-21 19:17:05 +03:00
parent 3b81d997a9
commit d7eccd92af

View File

@@ -15,7 +15,8 @@ class AppConfig:
username=CONFIGS['db']['username'],
password=CONFIGS['db']['password'],
authentication_source='admin',
host="mongodb://{host}:27017/{database}".format(host=CONFIGS['db']['host'], database=CONFIGS['db']['name'])
port=27017,
host=CONFIGS['db']['host'])
)
def refresh(self):