fix continuations owo

This commit is contained in:
Ashley 2023-03-12 17:58:19 +00:00
parent 5d65f9206c
commit d5d34babe0

View file

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