forked from midou/invidious
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 "author", video.author
|
||||||
json.field "authorId", video.ucid
|
json.field "authorId", video.ucid
|
||||||
json.field "authorUrl", "/channel/#{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.field "authorThumbnails" do
|
||||||
json.array do
|
json.array do
|
||||||
|
Loading…
Reference in New Issue
Block a user