fix some goofy ahh stuff

This commit is contained in:
Ashley 2023-03-27 19:50:38 +00:00
parent dbd3f4dd90
commit 71ba4f020c

View file

@ -150,19 +150,13 @@ module.exports = function (app, config, renderTemplate) {
}; };
const tj = await getChannelData( const tj = await getChannelData(
`https://invid-api.poketube.fun/api/v1/channels/videos/${ID}/?sort_by=${ `https://invid-api.poketube.fun/api/v1/channels/videos/${ID}/?sort_by=${sort_by}${continuation}`
req.query.sort_by || "newest"
}${continuation}`
); );
const shorts = await getChannelData( const shorts = await getChannelData(
`https://invid-api.poketube.fun/api/v1/channels/${ID}/shorts?sort_by=${ `https://invid-api.poketube.fun/api/v1/channels/${ID}/shorts?sort_by=${sort_by}${continuations}`
req.query.sort_by || "newest"
}${continuations}`
); );
const stream = await getChannelData( const stream = await getChannelData(
`https://invid-api.poketube.fun/api/v1/channels/${ID}/streams?sort_by=${ `https://invid-api.poketube.fun/api/v1/channels/${ID}/streams?sort_by=${sort_by}${continuationl}`
req.query.sort_by || "newest"
}${continuationl}`
); );
const c = await getChannelData( const c = await getChannelData(
`https://invid-api.poketube.fun/api/v1/channels/community/${ID}/` `https://invid-api.poketube.fun/api/v1/channels/community/${ID}/`