Skip to content

Commit

Permalink
Fix video thumbnails in mixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed Dec 16, 2024
1 parent 9892604 commit 047ead8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/invidious/routes/api/v1/misc.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 047ead8

Please sign in to comment.