From d477c04ce48bf0fd46cc53d9f93ace3c4ce6b866 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 7 Sep 2024 12:51:27 +0000 Subject: [PATCH] Update src/libpoketube/init/pages-video.js --- src/libpoketube/init/pages-video.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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, "
");