mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-25 15:58:55 +01:00
test ignore
This commit is contained in:
parent
a9e0acbd0a
commit
dcb80d6a51
1 changed files with 9 additions and 9 deletions
|
@ -372,14 +372,14 @@ module.exports = function (app, config, renderTemplate) {
|
|||
|
||||
|
||||
|
||||
if (continuation) {
|
||||
const currentAuthorId = ID;
|
||||
const firstVideoAuthorId = tj.videos[0].authorId;
|
||||
if (continuation) {
|
||||
const currentAuthorId = String(cinv.authorId).trim();
|
||||
const firstVideoAuthorId = String(tj.videos[0].authorId).trim();
|
||||
|
||||
if (currentAuthorId !== firstVideoAuthorId) {
|
||||
res.status(400).send("continuation does not match the channel :c - how tf did this happen :sob:");
|
||||
}
|
||||
}
|
||||
if (currentAuthorId.localeCompare(firstVideoAuthorId) !== 0) {
|
||||
res.status(400).send("Continuation does not match the channel :c");
|
||||
}
|
||||
}
|
||||
|
||||
renderTemplate(res, req, "channel.ejs", {
|
||||
ID,
|
||||
|
|
Loading…
Reference in a new issue