f
This commit is contained in:
parent
410990fe22
commit
212fce1dcf
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ async function genTree(treeId) {
|
||||||
async function main() {
|
async function main() {
|
||||||
fetchData = await fetch(`https://scratch.mit.edu/projects/${treeID}/remixtree/bare/`).then(x => x.json());
|
fetchData = await fetch(`https://scratch.mit.edu/projects/${treeID}/remixtree/bare/`).then(x => x.json());
|
||||||
|
|
||||||
let latestData = await fetch(`https://corsproxy.io/?https://api.scratch.mit.edu/studios/${studioID}/projects`).then(x => x.json());
|
let latestData = await fetch(`https://hf.zenoverse.net/api/`).then(x => x.json());
|
||||||
|
|
||||||
let lid = latestData[0].id;
|
let lid = latestData[0].id;
|
||||||
while (fetchData[lid].children.length > 0) {
|
while (fetchData[lid].children.length > 0) {
|
||||||
|
|
Loading…
Reference in a new issue