From bbf52f0cd31e26b5cc65cf7466461d0aea797e18 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Thu, 29 Feb 2024 20:09:17 +0000 Subject: [PATCH] use Object.entries --- src/libpoketube/init/pages-channel-and-download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index c978a059..ea1e655f 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -218,7 +218,7 @@ module.exports = function (app, config, renderTemplate) { let continuation = req.query.continuation || ""; try { - const results = web; + const results = Object.entries(web); renderTemplate(res, req, "search-web.ejs", { j: "",