1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:54:39 -05:00
This commit is contained in:
ashley 2024-05-26 20:37:47 +00:00
parent 9adc242445
commit a9e0acbd0a

View file

@ -343,14 +343,7 @@ module.exports = function (app, config, renderTemplate) {
}
}
if (continuation) {
const currentAuthorId = cinv.authorId;
const firstVideoAuthorId = tj.videos[0].authorId;
if (currentAuthorId !== firstVideoAuthorId) {
res.status(400).send("continuation does not match the channel :c - how tf did this happen :sob:");
}
}
cache[ID] = {
result: {
@ -379,7 +372,15 @@ module.exports = function (app, config, renderTemplate) {
if (continuation) {
const currentAuthorId = ID;
const firstVideoAuthorId = tj.videos[0].authorId;
if (currentAuthorId !== firstVideoAuthorId) {
res.status(400).send("continuation does not match the channel :c - how tf did this happen :sob:");
}
}
renderTemplate(res, req, "channel.ejs", {
ID,
tab,