mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix playlist_ajax
This commit is contained in:
parent
ca1185d0be
commit
920463f2ff
1 changed files with 0 additions and 4 deletions
|
@ -1216,10 +1216,6 @@ post "/playlist_ajax" do |env|
|
|||
error_message = {"error" => "Playlist cannot have more than 500 videos"}.to_json
|
||||
next error_message
|
||||
end
|
||||
else
|
||||
error_message = {"error" => "Unsupported action #{action}"}.to_json
|
||||
env.response.status_code = 400
|
||||
next error_message
|
||||
end
|
||||
|
||||
video_id = env.params.query["video_id"]
|
||||
|
|
Loading…
Reference in a new issue