mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 08:09:51 +05:30
make authorVerified
a bool value
This commit is contained in:
parent
2a029b4d8c
commit
d1eae10147
@ -227,7 +227,7 @@ module Invidious::JSONify::APIv1
|
||||
json.field "author", rv["author"]
|
||||
json.field "authorUrl", "/channel/#{rv["ucid"]?}"
|
||||
json.field "authorId", rv["ucid"]?
|
||||
json.field "authorVerified", rv["author_verified"]
|
||||
json.field "authorVerified", rv["author_verified"] == "true"
|
||||
if rv["author_thumbnail"]?
|
||||
json.field "authorThumbnails" do
|
||||
json.array do
|
||||
|
Loading…
Reference in New Issue
Block a user