diff --git a/src/background/api.js b/src/background/api.js index ccf4f45..0b18929 100644 --- a/src/background/api.js +++ b/src/background/api.js @@ -10,7 +10,8 @@ module.exports = ({ torrentClient, spider, upnp, - crypto + crypto, + insertTorrentToDB }) => { let torrentClientHashMap = {} diff --git a/src/background/spider.js b/src/background/spider.js index b8fe2e4..410be8a 100644 --- a/src/background/spider.js +++ b/src/background/spider.js @@ -684,7 +684,8 @@ API({ torrentClient, spider, upnp, - crypto + crypto, + insertTorrentToDB }) let fakeTorrents = [];