mirror of
https://github.com/iv-org/invidious.git
synced 2026-09-26 19:45:29 -05:00
fix wrong function
This commit is contained in:
parent
4f8e8f2f0c
commit
9199271cfd
@ -269,7 +269,7 @@ module Invidious::Routes::VideoPlayback
|
||||
|
||||
# Sanity checks
|
||||
unless id && validate_video_id(id)
|
||||
return error_json(400, InvalidVideoID.new(id))
|
||||
return error_template(400, InvalidVideoID.new(id))
|
||||
end
|
||||
|
||||
if !itag.nil? && (itag <= 0 || itag >= 1000)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user