added image upload feature
This commit is contained in:
@@ -73,7 +73,7 @@ export async function updateUserProfile(
|
||||
updates: { displayName?: string; photoURL?: string; theme?: string },
|
||||
token: string
|
||||
) {
|
||||
return apiCall(`/api/users/update/${userId}`, {
|
||||
return apiCall(`/api/users/${userId}`, {
|
||||
method: 'PUT',
|
||||
body: updates,
|
||||
token,
|
||||
|
||||
Reference in New Issue
Block a user