mirror of
https://github.com/iv-org/invidious.git
synced 2025-02-24 08:18:22 -06:00
API: Fix video thumbnails in mixes (#5116)
This commit is contained in:
commit
d5442d45bc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user