From 003b93bbb3927c41ef7dd26bd35fcc9bdaf15474 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Sat, 1 Feb 2025 01:01:13 -0500 Subject: [PATCH] do this at the end because it takes too long --- site.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site.js b/site.js index d7ef2e5..e995f4a 100644 --- a/site.js +++ b/site.js @@ -124,9 +124,10 @@ async function rounder(users, data, mode) { let endn = []; for (let h in data) { let dh = data[h]; + if (dh.following.length == 0 && dh.followers.length == 0) continue; endn = endn.concat(dh.following, dh.followers); - endn = [...new Set(endn)]; } + endn = [...new Set(endn)]; return endn; }