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):