From 29aea0be35808cf6eb6444a3fa57f47ce89269ba Mon Sep 17 00:00:00 2001 From: ashley Date: Thu, 25 Jul 2024 22:22:01 +0000 Subject: [PATCH] bwa bwa --- 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 bbbdfda..c017c5d 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -307,7 +307,7 @@ module.exports = function (app, config, renderTemplate) { if (continuation) { const currentAuthorId = String(cinv.authorId).trim(); - const firstVideoAuthorId = String(tj.videos[0].authorId).trim(); + const firstVideoAuthorId = String(tj?.videos[0].authorId).trim(); if (currentAuthorId.localeCompare(firstVideoAuthorId) !== 0) { res.status(400).send("Continuation does not match the channel :c");