Invidious is an alternative front-end to YouTube
Fix playlist_ajax
Omar Roth920463f2ff04
diff --git a/src/invidious.cr b/src/invidious.crindex 55974e4a..754d1513 100644--- a/src/invidious.cr+++ b/src/invidious.cr@@ -1216,10 +1216,6 @@ post "/playlist_ajax" do |env|error_message = {"error" => "Playlist cannot have more than 500 videos"}.to_jsonnext error_messageend- else- error_message = {"error" => "Unsupported action #{action}"}.to_json- env.response.status_code = 400- next error_messageendvideo_id = env.params.query["video_id"]