Also fix 'to_json' in struct Video

This commit is contained in:
Samantaz Fox
2021-10-29 14:53:06 +02:00
parent 1cb715ac9f
commit 33780f1995
3 changed files with 11 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ module Invidious::Routes::API::V1::Videos
return error_json(500, ex)
end
video.to_json(locale)
video.to_json(locale, nil)
end
def self.captions(env)