mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
fix update-avatar
This commit is contained in:
@@ -10,7 +10,7 @@ const sendUpdateUserProfileRequest = async ({
|
||||
bio,
|
||||
userId,
|
||||
}: UpdateProfileRequestParams) => {
|
||||
const response = await fetch(`/api/users/${userId}/profile/update-bio`, {
|
||||
const response = await fetch(`/api/users/${userId}/profile/update-profile`, {
|
||||
method: 'PUT',
|
||||
body: JSON.stringify({ bio }),
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
Reference in New Issue
Block a user