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,10 +141,8 @@ module Invidious::Routes::API::V1::Misc
json.field "authorUrl", "/channel/#{video.ucid}" json.field "authorUrl", "/channel/#{video.ucid}"
json.field "videoThumbnails" do json.field "videoThumbnails" do
json.array do
Invidious::JSONify::APIv1.thumbnails(json, video.id) Invidious::JSONify::APIv1.thumbnails(json, video.id)
end end
end
json.field "index", video.index json.field "index", video.index
json.field "lengthSeconds", video.length_seconds json.field "lengthSeconds", video.length_seconds