mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-22 14:31:02 -04:00
Fix missing .id to retrieve first playlist video ID
This was missed in the review of PR 5196
This commit is contained in:
parent
df8839d1f0
commit
b0c9f87fbe
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue