mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 09:38:12 +01:00
fix api
This commit is contained in:
parent
8f1f5e17ee
commit
4ab97ef63d
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ app.get("/channel/", async (req, res) => {
|
||||||
|
|
||||||
//videos
|
//videos
|
||||||
const channel = await modules.fetch(
|
const channel = await modules.fetch(
|
||||||
config.tubeApi + `channel?id=${ID}&tab=videos&Continuation=${continuation}`
|
config.tubeApi + `channel?id=${ID}&tab=shorts&Continuation=${continuation}`
|
||||||
);
|
);
|
||||||
const c = await channel.text();
|
const c = await channel.text();
|
||||||
const tj = JSON.parse(modules.toJson(c));
|
const tj = JSON.parse(modules.toJson(c));
|
||||||
|
|
Loading…
Reference in a new issue