Fix statistics misreporting register allow state

pull/2006/head
namazso 4 years ago committed by GitHub
parent b7eba3bc17
commit f2cc16009f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,7 +42,7 @@ class Invidious::Jobs::StatisticsRefreshJob < Invidious::Jobs::BaseJob
"version" => @software_config["version"],
"branch" => @software_config["branch"],
}
STATISTICS["openRegistration"] = CONFIG.registration_enabled
STATISTICS["openRegistrations"] = CONFIG.registration_enabled
end
private def refresh_stats

Loading…
Cancel
Save