Config items are now checked on start. Missing ones will be autofilled with the default values automatically on startup

This commit is contained in:
Tzahi12345
2020-05-04 05:18:06 -04:00
parent 98e33ac399
commit 49081db8cb
2 changed files with 25 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ const logger = winston.createLogger({
]
});
config_api.setLogger(logger);
config_api.initialize(logger);
subscriptions_api.initialize(db, users_db, logger);
auth_api.initialize(users_db, logger);