mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-26 02:00:11 +05:30
Fix video thumbnails in mixes
This commit is contained in:
parent
9892604758
commit
047ead8080
@ -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…
Reference in New Issue
Block a user