format watch.cr

This commit is contained in:
Emilien 2024-12-08 22:22:08 +01:00
parent f710dd37bf
commit a571eeaa38

View File

@ -328,7 +328,6 @@ module Invidious::Routes::Watch
return Invidious::Routes::API::V1::Videos.captions(env) return Invidious::Routes::API::V1::Videos.captions(env)
elsif itag = download_widget["itag"]?.try &.as_i.to_s elsif itag = download_widget["itag"]?.try &.as_i.to_s
# URL params specific to /latest_version # URL params specific to /latest_version
env.params.query["id"] = video_id env.params.query["id"] = video_id
env.params.query["title"] = filename env.params.query["title"] = filename