This commit is contained in:
ashley 2024-07-25 22:22:01 +00:00
parent dbde6dbfb9
commit 29aea0be35

View file

@ -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");