1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-05-31 14:11:54 +05:30

Fix description in video API endpoint

This commit is contained in:
Omar Roth 2018-08-20 10:07:25 -05:00
parent 16c7d99dd8
commit 4725f7222b

@ -1911,7 +1911,7 @@ get "/api/v1/videos/:id" do |env|
generate_thumbnails(json, video.id) generate_thumbnails(json, video.id)
end end
description = html_to_description(video.description) description, video.description = html_to_description(video.description)
json.field "description", description json.field "description", description
json.field "descriptionHtml", video.description json.field "descriptionHtml", video.description