From d7eccd92afb454c486608f2a8b0090a294523b48 Mon Sep 17 00:00:00 2001 From: Egor Svitin Date: Tue, 21 Feb 2023 19:17:05 +0300 Subject: [PATCH] update configs --- configs/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/config.py b/configs/config.py index 4e31ecc..51be7e1 100644 --- a/configs/config.py +++ b/configs/config.py @@ -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):