Fix statistics misreporting register allow state

このコミットが含まれているのは:
namazso 2021-04-10 18:52:07 +02:00 committed by GitHub
コミット f2cc16009f
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除

ファイルの表示

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