API: Add "authorVerified" to the video endpoint (#4150)

This commit is contained in:
Samantaz Fox 2023-10-21 18:32:01 +02:00
commit d543a68a84
No known key found for this signature in database
GPG key ID: F42821059186176E

View file

@ -39,6 +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.author_verified
json.field "authorThumbnails" do json.field "authorThumbnails" do
json.array do json.array do