el stupido

This commit is contained in:
biglyderv 2024-09-18 05:11:48 -04:00
parent af08df32b4
commit 216983f48b
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954

View file

@ -39,7 +39,7 @@ async function main(type) {
user = user.slice(1);
if (typed == '#') {
studios[typed] = await (fetch(`https://hf.zenoverse.net/studio/${user}`)
studios[user] = await (fetch(`https://hf.zenoverse.net/studio/${user}`)
.then(x => x.json()));
}
}
@ -60,13 +60,13 @@ async function main(type) {
extraFetch = await (fetch(`https://hf.zenoverse.net/studio_project/${user}`)
.then(x => x.json()));
extraFetch.forEach(x => {
x.studio = studios[typed].title;
x.studio = studios[user].title;
});
} else if (typed == '#' && type == '#comment') {
extraFetch = await (fetch(`https://hf.zenoverse.net/studio_comment/${user}`)
.then(x => x.json()));
extraFetch.forEach(x => {
x.studio = studios[typed].title;
x.studio = studios[user].title;
x.studioID = user
});
} else if (typed == '@' && type == '#user') {