do this at the end because it takes too long
This commit is contained in:
parent
9518d1dadb
commit
003b93bbb3
1 changed files with 2 additions and 1 deletions
3
site.js
3
site.js
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue