forked from midou/invidious
Fix statistics misreporting register allow state
This commit is contained in:
parent
b7eba3bc17
commit
f2cc16009f
@ -42,7 +42,7 @@ class Invidious::Jobs::StatisticsRefreshJob < Invidious::Jobs::BaseJob
|
|||||||
"version" => @software_config["version"],
|
"version" => @software_config["version"],
|
||||||
"branch" => @software_config["branch"],
|
"branch" => @software_config["branch"],
|
||||||
}
|
}
|
||||||
STATISTICS["openRegistration"] = CONFIG.registration_enabled
|
STATISTICS["openRegistrations"] = CONFIG.registration_enabled
|
||||||
end
|
end
|
||||||
|
|
||||||
private def refresh_stats
|
private def refresh_stats
|
||||||
|
Loading…
Reference in New Issue
Block a user