mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-26 17:41:17 +00:00
Comments: Move 'fetch_youtube' function to own file + module
This commit is contained in:
@@ -333,7 +333,7 @@ module Invidious::Routes::API::V1::Videos
|
||||
sort_by ||= "top"
|
||||
|
||||
begin
|
||||
comments = fetch_youtube_comments(id, continuation, format, locale, thin_mode, region, sort_by: sort_by)
|
||||
comments = Comments.fetch_youtube(id, continuation, format, locale, thin_mode, region, sort_by: sort_by)
|
||||
rescue ex : NotFoundException
|
||||
return error_json(404, ex)
|
||||
rescue ex
|
||||
|
||||
Reference in New Issue
Block a user