mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-16 17:48:29 +00:00
always show software
This commit is contained in:
parent
21e29411af
commit
39caca33d8
@ -5,7 +5,7 @@ module Invidious::Routes::API::V1::Misc
|
|||||||
env.response.content_type = "application/json"
|
env.response.content_type = "application/json"
|
||||||
|
|
||||||
if !CONFIG.statistics_enabled
|
if !CONFIG.statistics_enabled
|
||||||
return error_json(400, "Statistics are not enabled.")
|
return error_json(400, "Statistics are not enabled.", {"software" => SOFTWARE})
|
||||||
end
|
end
|
||||||
|
|
||||||
Invidious::Jobs::StatisticsRefreshJob::STATISTICS.to_json
|
Invidious::Jobs::StatisticsRefreshJob::STATISTICS.to_json
|
||||||
|
Loading…
Reference in New Issue
Block a user