Fixes bug (hopefully) that causes stale data to be saved to the db due to multiple adapters instances being used. Now the db adapter gets passed as a parameter

This commit is contained in:
Tzahi12345
2020-04-29 00:12:50 -04:00
parent 46b595db45
commit a701d0fe83
2 changed files with 10 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ const logger = winston.createLogger({
});
config_api.setLogger(logger);
subscriptions_api.setLogger(logger);
subscriptions_api.initialize(db, logger);
// var GithubContent = require('github-content');