summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-09-13 20:27:50 -0500
committerOmar Roth <omarroth@hotmail.com>2018-09-13 20:27:50 -0500
commitb7acdfad2451761aa920e26a4fa4701844668cf2 (patch)
tree2afe7c09f3a93cc771dfbbcd463f889951be9450 /src
parentd3eadccd51d55072b10949385a1fad5660c29a20 (diff)
downloadinvidious-b7acdfad2451761aa920e26a4fa4701844668cf2.tar.gz
invidious-b7acdfad2451761aa920e26a4fa4701844668cf2.tar.bz2
invidious-b7acdfad2451761aa920e26a4fa4701844668cf2.zip
Fix typo
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
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"]