remove unused variable

simplify resolve url

remove trailing spaces

Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
ChunkyProgrammer
2023-09-26 19:05:37 -04:00
parent bb04bcc42c
commit 4f25069f55
3 changed files with 3 additions and 4 deletions

View File

@@ -373,7 +373,6 @@ module Invidious::Routes::API::V1::Channels
def self.post_comments(env)
locale = env.get("preferences").as(Preferences).locale
region = env.params.query["region"]?
env.response.content_type = "application/json"