diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 4b9663ea..2d24b045 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -229,8 +229,7 @@ module.exports = function (app, config, renderTemplate) { const inv_vid = data?.vid; const desc = data?.desc || ""; - if(k.Error) res.send("error") - + let d = false; if (desc !== "[object Object]") { d = desc.toString().replace(/\n/g, "
");