Merge pull request #2006 from namazso/patch-1

Fix statistics misreporting register allow state
This commit is contained in:
TheFrenchGhosty authored and GitHub committed 2021-04-10 17:02:17 +00:00
commit 42be1321b2
1 file changed
+1 -1
+1 -1
View File
@@ -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