mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-12 07:38:32 +00:00
fix comments not loading
(using a workaround: like count is always 0)
This commit is contained in:
parent
beea32661a
commit
a178463835
@ -185,7 +185,7 @@ def fetch_youtube_comments(id, db, cursor, format, locale, thin_mode, region, so
|
|||||||
json.field "published", published.to_unix
|
json.field "published", published.to_unix
|
||||||
json.field "publishedText", translate(locale, "`x` ago", recode_date(published, locale))
|
json.field "publishedText", translate(locale, "`x` ago", recode_date(published, locale))
|
||||||
|
|
||||||
json.field "likeCount", node_comment["likeCount"]
|
json.field "likeCount", 0
|
||||||
json.field "commentId", node_comment["commentId"]
|
json.field "commentId", node_comment["commentId"]
|
||||||
json.field "authorIsChannelOwner", node_comment["authorIsChannelOwner"]
|
json.field "authorIsChannelOwner", node_comment["authorIsChannelOwner"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user