This commit is contained in:
Felix Ableitner 2023-06-29 22:12:59 +02:00
parent ffce7f73b2
commit 12c59e3d9c

View file

@ -55,14 +55,11 @@ try {
stats.instance_details = stats.instance_details
// Exclude instances with closed registration
.filter(
i =>
i.site_info.site_view.local_site.registration_mode != "closed"
i => i.site_info.site_view.local_site.registration_mode != "closed"
)
// Exclude instances with few active users
.filter(
i =>
i.site_info.site_view.counts.users_active_month >
min_monthly_users
i => i.site_info.site_view.counts.users_active_month > min_monthly_users
);
// Exclude unnecessary data
stats.instance_details.forEach(i => {