mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-12 22:31:30 +03:00
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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user