This commit is contained in:
ashley 2024-09-21 05:06:43 +00:00
parent 308518f6cd
commit 2941fa7b86

View file

@ -322,14 +322,7 @@ if (ID.includes(bannedchannels) && !bypassExists && !tabExists && !continuationE
); );
const dnoreplace = about?.Description.toString(); const dnoreplace = about?.Description.toString();
if (continuation) {
const currentAuthorId = String(cinv.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");
}
}
let ChannelFirstVideoObject = { let ChannelFirstVideoObject = {
subCountText: "0", subCountText: "0",