API: Fix video thumbnails in mixes (#5116)

This commit is contained in:
syeopite 2025-01-22 11:29:12 -08:00
commit d5442d45bc
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A

View File

@ -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