Skip to content

Commit

Permalink
API: Fix video thumbnails in mixes (#5116)
Browse files Browse the repository at this point in the history
  • Loading branch information
syeopite committed Jan 22, 2025
2 parents d4f0560 + 047ead8 commit d5442d4
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 d5442d4

Please sign in to comment.