do this at the end because it takes too long

This commit is contained in:
dervperson 2025-02-01 01:01:13 -05:00
parent 9518d1dadb
commit 003b93bbb3

View file

@ -124,9 +124,10 @@ async function rounder(users, data, mode) {
let endn = []; let endn = [];
for (let h in data) { for (let h in data) {
let dh = data[h]; let dh = data[h];
if (dh.following.length == 0 && dh.followers.length == 0) continue;
endn = endn.concat(dh.following, dh.followers); endn = endn.concat(dh.following, dh.followers);
endn = [...new Set(endn)];
} }
endn = [...new Set(endn)];
return endn; return endn;
} }