diff options
| author | Omar Roth <omarroth@protonmail.com> | 2020-04-10 11:49:18 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2020-04-10 11:49:18 -0500 |
| commit | 920463f2ff04f4e749db5bf8d0607c7bfe4fb5eb (patch) | |
| tree | 57ea4451d91f7dee01441a52a6430f992996fc6e | |
| parent | ca1185d0be46e275688af705994ad64364d5b778 (diff) | |
| download | invidious-920463f2ff04f4e749db5bf8d0607c7bfe4fb5eb.tar.gz invidious-920463f2ff04f4e749db5bf8d0607c7bfe4fb5eb.tar.bz2 invidious-920463f2ff04f4e749db5bf8d0607c7bfe4fb5eb.zip | |
Fix playlist_ajax
| -rw-r--r-- | src/invidious.cr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 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_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"] |
