more VC work

This commit is contained in:
MathMan05 2024-10-11 22:43:39 -05:00
parent 152ea41b6a
commit 5cdb4d2184
6 changed files with 279 additions and 127 deletions

View file

@ -301,7 +301,7 @@ class User extends SnowFlake{
localuser.info.api.toString() + "/users/" + id + "/profile",
{ headers: localuser.headers }
).then(res=>res.json());
return new User(json, localuser);
return new User(json.user, localuser);
}
changepfp(update: string | null): void{