From f062014f84c7b69491ef7a9f733b6f2fc1c5a39f Mon Sep 17 00:00:00 2001 From: syeopite Date: Sat, 17 Apr 2021 04:06:24 -0700 Subject: [PATCH] Add channel country and external links to API (cherry picked from commit dfbc6c5bc799d4f449fbf3155baee223f4efeab5) --- src/invidious/routes/api/v1/channels.cr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/invidious/routes/api/v1/channels.cr b/src/invidious/routes/api/v1/channels.cr index da39661c..464fe428 100644 --- a/src/invidious/routes/api/v1/channels.cr +++ b/src/invidious/routes/api/v1/channels.cr @@ -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