mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Replace EOF carriage returns
This commit is contained in:
parent
212509ec60
commit
205c5493db
8 changed files with 18 additions and 16 deletions
|
@ -339,6 +339,7 @@ end
|
|||
def update_first_video_params(compid : String)
|
||||
if compilation = Invidious::Database::Compilations.select(id: compid)
|
||||
compilation_index_array = compilation.index
|
||||
if (compilation_index_array.size > 0)
|
||||
first_index = compilation_index_array[0]
|
||||
first_id = Invidious::Database::CompilationVideos.select_id_from_index(first_index)
|
||||
if !first_id.nil?
|
||||
|
@ -349,6 +350,7 @@ def update_first_video_params(compid : String)
|
|||
Invidious::Database::Compilations.update_first_video_params(compid, first_id, starting_timestamp_seconds, ending_timestamp_seconds)
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
raise NotFoundException.new("Compilation does not exist.")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue