mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-09 15:02:14 +05:30
Get "author_verified" using the instance method instead of using the info hash.
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
parent
7dc9b3f088
commit
8e45e05fba
@ -39,7 +39,7 @@ module Invidious::JSONify::APIv1
|
||||
json.field "author", video.author
|
||||
json.field "authorId", video.ucid
|
||||
json.field "authorUrl", "/channel/#{video.ucid}"
|
||||
json.field "authorVerified", video.info["authorVerified"]
|
||||
json.field "authorVerified", video.author_verified
|
||||
|
||||
json.field "authorThumbnails" do
|
||||
json.array do
|
||||
|
Loading…
Reference in New Issue
Block a user