mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue