1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 06:14:39 -05:00
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) { if (continuation) {
const currentAuthorId = String(cinv.authorId).trim(); 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) { if (currentAuthorId.localeCompare(firstVideoAuthorId) !== 0) {
res.status(400).send("Continuation does not match the channel :c"); res.status(400).send("Continuation does not match the channel :c");