test ignore

This commit is contained in:
ashley 2024-05-26 20:40:10 +00:00
parent a9e0acbd0a
commit dcb80d6a51

View file

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