From 047ead80805454ca6089b0c6a77d21cbf3af6197 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 16 Dec 2024 16:54:04 -0500 Subject: [PATCH] Fix video thumbnails in mixes --- src/invidious/routes/api/v1/misc.cr | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/invidious/routes/api/v1/misc.cr b/src/invidious/routes/api/v1/misc.cr index 093669fe..94a7e9b6 100644 --- a/src/invidious/routes/api/v1/misc.cr +++ b/src/invidious/routes/api/v1/misc.cr @@ -141,9 +141,7 @@ module Invidious::Routes::API::V1::Misc json.field "authorUrl", "/channel/#{video.ucid}" json.field "videoThumbnails" do - json.array do - Invidious::JSONify::APIv1.thumbnails(json, video.id) - end + Invidious::JSONify::APIv1.thumbnails(json, video.id) end json.field "index", video.index