oops typo

This commit is contained in:
Lilith Ashley Nyx Arson 🔥 2024-11-03 22:59:21 +01:00
parent e606f670d9
commit cad9b6f493
Signed by: lilith
SSH key fingerprint: SHA256:LAjgsAMyT3LO2JVtr6fQ4N3RTYoRRlIm5wAKsbDife4

View file

@ -33,7 +33,7 @@ fetch(host.replace("%", "top10")).then(r => r.text()).then(r => {
num: parseInt(segments[0]),
hash: segments[1]
}
hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leeches: 0 };
hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leechers: 0 };
hashes[info.hash][current] = hashes[info.hash][current] ?? 0;
hashes[info.hash][current] += info.num;