mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
fix(user/imports.cr): double header removal caused first video to be skipped
This commit is contained in:
parent
7eb166fd4d
commit
4a4e489447
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ struct Invidious::User
|
|||
Invidious::Database::Playlists.update_description(playlist.id, description)
|
||||
|
||||
# Add each video to the playlist from the body content
|
||||
csv_body = CSV.new(raw_body.strip('\n'), headers: true)
|
||||
csv_body = CSV.new(raw_body.strip('\n'), headers: false)
|
||||
csv_body.each do |row|
|
||||
video_id = row[0]
|
||||
if playlist
|
||||
|
|
Loading…
Reference in a new issue