Browse Source
Remove usage of haltf in /api/v1/channels/:ucid/comments
pull/2271/head
syeopite
4 years ago
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
1 changed files with
2 additions and
1 deletions
-
src/invidious/routes/api/v1/channels.cr
|
|
|
@ -272,6 +272,7 @@ module Invidious::Routes::API::V1::Channels |
|
|
|
ucid = env.params.url["ucid"] |
|
|
|
|
|
|
|
env.response.headers["Location"] = "/api/v1/channels/#{ucid}/community?#{env.params.query}" |
|
|
|
haltf env, status_code: 301 |
|
|
|
env.response.status_code = 301 |
|
|
|
return |
|
|
|
end |
|
|
|
end |