Added the text version of the published parameter

This commit is contained in:
RadoslavL
2023-11-12 08:37:13 +02:00
parent a0d24190b8
commit be216fff94
2 changed files with 5 additions and 2 deletions

View File

@@ -246,6 +246,7 @@ module Invidious::JSONify::APIv1
json.field "viewCountText", rv["short_view_count"]?
json.field "viewCount", rv["view_count"]?.try &.empty? ? nil : rv["view_count"].to_i64
json.field "published", rv["published"]?
json.field "publishedTimeText", rv["publishedText"]?
end
end
end