[scraper] update seeders for tpb from trackers not website

This commit is contained in:
TheBeastLT
2021-01-11 09:56:00 +01:00
parent 0522a5e8ab
commit 4de4801b13
3 changed files with 19 additions and 17 deletions

View File

@@ -152,7 +152,7 @@ async function createTorrentContents(torrent) {
async function updateTorrentSeeders(torrent) {
if (!(torrent.infoHash || (torrent.provider && torrent.torrentId)) || !Number.isInteger(torrent.seeders)) {
return;
return torrent;
}
return repository.setTorrentSeeders(torrent, torrent.seeders)