From b7acdfad2451761aa920e26a4fa4701844668cf2 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 13 Sep 2018 20:27:50 -0500 Subject: [PATCH] Fix typo --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]