WIP of user avatar work
Switching from laptop
This commit is contained in:
parent
ad90f9c95e
commit
6f9a511874
9 changed files with 68 additions and 2 deletions
|
|
@ -350,7 +350,7 @@ const saveChanges = async () => {
|
|||
console.error("Failed to upload avatar", error);
|
||||
}
|
||||
}
|
||||
const response = await fetch(user.urls.api.user, {
|
||||
const response = await fetch(user.urls.api.users, {
|
||||
method: "PUT",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue