From f2cc16009f04f92d4fbd19a8e98ea4a4da831663 Mon Sep 17 00:00:00 2001 From: namazso Date: Sat, 10 Apr 2021 18:52:07 +0200 Subject: [PATCH] Fix statistics misreporting register allow state --- src/invidious/jobs/statistics_refresh_job.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/jobs/statistics_refresh_job.cr b/src/invidious/jobs/statistics_refresh_job.cr index aa46fb0e7..6569c0a1e 100644 --- a/src/invidious/jobs/statistics_refresh_job.cr +++ b/src/invidious/jobs/statistics_refresh_job.cr @@ -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