Fix video thumbnails in mixes

This commit is contained in:
Brahim Hadriche 2024-12-16 16:54:04 -05:00
parent 9892604758
commit 047ead8080

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