From 4725f7222b1bcbfa38c75b54cf72e8aaaf23f49c Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 20 Aug 2018 10:07:25 -0500 Subject: [PATCH] Fix description in video API endpoint --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index 46fdc7a76..cc8edf0a5 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1911,7 +1911,7 @@ get "/api/v1/videos/:id" do |env| generate_thumbnails(json, video.id) end - description = html_to_description(video.description) + description, video.description = html_to_description(video.description) json.field "description", description json.field "descriptionHtml", video.description