mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
fix displaying author name #1612
This commit is contained in:
parent
9a9f8231e8
commit
c2957dbce4
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def fetch_channel_community(ucid, continuation, locale, format, thin_mode)
|
|||
next if !post
|
||||
|
||||
content_html = post["contentText"]?.try { |t| parse_content(t) } || ""
|
||||
author = post["authorText"]?.try &.["simpleText"]? || ""
|
||||
author = post["authorText"]["runs"]?.try &.[0]?.try &.["text"]? || ""
|
||||
|
||||
json.object do
|
||||
json.field "author", author
|
||||
|
|
Loading…
Reference in a new issue