mirror of
https://github.com/iv-org/invidious.git
synced 2025-06-08 14:52:52 -04:00
Remove usage of haltf in /api/v1/channels/:ucid/comments
This commit is contained in:
parent
52688106e4
commit
d984a898d4
1 changed files with 2 additions and 1 deletions
|
@ -272,6 +272,7 @@ module Invidious::Routes::API::V1::Channels
|
||||||
ucid = env.params.url["ucid"]
|
ucid = env.params.url["ucid"]
|
||||||
|
|
||||||
env.response.headers["Location"] = "/api/v1/channels/#{ucid}/community?#{env.params.query}"
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue