Add channel country and external links to API

(cherry picked from commit dfbc6c5bc7)
This commit is contained in:
syeopite 2021-04-17 04:06:24 -07:00
parent ad1542d4b9
commit f062014f84
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -85,6 +85,8 @@ module Invidious::Routes::API::V1::Channels
json.field "descriptionHtml", channel.description_html json.field "descriptionHtml", channel.description_html
json.field "allowedRegions", channel.allowed_regions json.field "allowedRegions", channel.allowed_regions
json.field "external_links", channel.links
json.field "country", channel.country
json.field "latestVideos" do json.field "latestVideos" do
json.array do json.array do