mirror of
https://github.com/iv-org/invidious.git
synced 2026-09-06 00:52:45 -05:00
Change order of commentsEnabled in parse results
This commit is contained in:
parent
c94d133a28
commit
17eb65e958
@ -433,6 +433,7 @@ module Invidious::Videos::Parser
|
||||
"isFamilyFriendly" => JSON::Any.new(family_friendly || false),
|
||||
"isListed" => JSON::Any.new(is_listed || false),
|
||||
"isUpcoming" => JSON::Any.new(is_upcoming || false),
|
||||
"commentsEnabled" => JSON::Any.new(comments_enabled),
|
||||
"keywords" => JSON::Any.new(keywords.map { |v| JSON::Any.new(v) }),
|
||||
"isPostLiveDvr" => JSON::Any.new(post_live_dvr),
|
||||
# Related videos
|
||||
@ -453,7 +454,6 @@ module Invidious::Videos::Parser
|
||||
"authorThumbnail" => JSON::Any.new(author_thumbnail.try &.as_s || ""),
|
||||
"authorVerified" => JSON::Any.new(author_verified || false),
|
||||
"subCountText" => JSON::Any.new(subs_text || "-"),
|
||||
"commentsEnabled" => JSON::Any.new(comments_enabled),
|
||||
}
|
||||
|
||||
return params
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user