diff --git a/src/invidious.cr b/src/invidious.cr index c5eea78b..f1ce53a3 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1980,7 +1980,7 @@ get "/api/v1/comments/:id" do |env| json.field "content", content json.field "contentHtml", content_html json.field "published", published.epoch - json.field "publishedText", "#{recode_date(video.published)} ago" + json.field "publishedText", "#{recode_date(published)} ago" json.field "likeCount", node_comment["likeCount"] json.field "commentId", node_comment["commentId"]