mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-22 16:29:10 -04: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"
|
||||
|
||||
if !CONFIG.statistics_enabled
|
||||
return error_json(400, "Statistics are not enabled.")
|
||||
return error_json(400, "Statistics are not enabled.", {"software" => SOFTWARE})
|
||||
end
|
||||
|
||||
Invidious::Jobs::StatisticsRefreshJob::STATISTICS.to_json
|
||||
|
Loading…
x
Reference in New Issue
Block a user