make authorVerified
a bool value
This commit is contained in:
parent
f7175898c8
commit
b3301ef15c
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ module Invidious::JSONify::APIv1
|
||||||
json.field "author", rv["author"]
|
json.field "author", rv["author"]
|
||||||
json.field "authorUrl", "/channel/#{rv["ucid"]?}"
|
json.field "authorUrl", "/channel/#{rv["ucid"]?}"
|
||||||
json.field "authorId", rv["ucid"]?
|
json.field "authorId", rv["ucid"]?
|
||||||
json.field "authorVerified", rv["author_verified"]
|
json.field "authorVerified", rv["author_verified"] == "true"
|
||||||
if rv["author_thumbnail"]?
|
if rv["author_thumbnail"]?
|
||||||
json.field "authorThumbnails" do
|
json.field "authorThumbnails" do
|
||||||
json.array do
|
json.array do
|
||||||
|
|
Loading…
Add table
Reference in a new issue