Fix statistics misreporting register allow state

pull/2006/head
namazso 2021-04-10 18:52:07 +02:00 zatwierdzone przez GitHub
rodzic b7eba3bc17
commit f2cc16009f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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