Fix playlist_ajax

pull/1111/head
Omar Roth 5 years ago
parent ca1185d0be
commit 920463f2ff
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -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…
Cancel
Save