Add channel country and external links to API

This commit is contained in:
syeopite 2021-04-17 04:06:24 -07:00
parent 94386d4e0f
commit dfbc6c5bc7
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 "allowedRegions", channel.allowed_regions
json.field "external_links", channel.links
json.field "country", channel.country
json.field "latestVideos" do
json.array do