el stupido
This commit is contained in:
parent
af08df32b4
commit
216983f48b
1 changed files with 3 additions and 3 deletions
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue