From 77ec8ae03da0ff68394b35d1a0ae09966b1a773e Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 25 Sep 2022 19:24:58 +0200 Subject: [PATCH] FIX MY SKILL ISSUEEE --- server.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/server.js b/server.js index 91fbaa89..6e37654d 100644 --- a/server.js +++ b/server.js @@ -487,16 +487,17 @@ app.get("/channel/", async (req, res) => { const h = await bout.text(); const k = JSON.parse(toJson(h)); - //videos - const channel = await fetch(config.tubeApi + `channel?id=${ID}&tab=videos`); - const c = await channel.text(); - const tj = JSON.parse(toJson(c)); - if(req.query.continuation){ var continuation = req.query.continuation } if(!req.query.continuation){ var continuation = "" } + //videos + const channel = await fetch(config.tubeApi + `channel?id=${ID}&tab=videos&Continuation=${continuation}`); + const c = await channel.text(); + const tj = JSON.parse(toJson(c)); + + const summary = await wiki.summary(k.Channel.Metadata.Name);