Fix missing .id to retrieve first playlist video ID

This was missed in the review of PR 5196
SamantazFox-patch-1
Samantaz Fox 2025-06-26 19:09:52 +00:00 zatwierdzone przez GitHub
rodzic df8839d1f0
commit b0c9f87fbe
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ module Invidious::Routes::Embed
return error_template(500, ex)
end
url = "/embed/#{first_playlist_video}?#{env.params.query}"
url = "/embed/#{first_playlist_video.id}?#{env.params.query}"
if env.params.query.size > 0
url += "?#{env.params.query}"