[scraper] updates hs mapping

This commit is contained in:
TheBeastLT
2020-04-08 16:32:39 +02:00
parent ce0e330172
commit 9ea008572d
2 changed files with 6 additions and 5 deletions

View File

@@ -63,8 +63,6 @@ async function updateTorrentSeeders(torrent) {
.catch(() => undefined)
.then(stored => {
if (stored) {
console.log(
`Updated seeder for ${torrent.provider} [${torrent.infoHash}] ${torrent.title} from ${stored.seeders} to ${torrent.seeders}`);
stored.seeders = torrent.seeders;
stored.changed('updatedAt', true);
return stored.save()