Skip to content

Commit d27c010

Browse files
committed
changed patch to put
1 parent 1b0cac3 commit d27c010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csm_web/frontend/src/utils/queries/profiles.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const useUserInfoUpdateMutation = (userId: number): UseMutationResult<voi
5252
if (isNaN(userId)) {
5353
throw new PermissionError("Invalid user id");
5454
}
55-
const response = await fetchWithMethod(`/user/${userId}/profile`, HTTP_METHODS.PATCH, body);
55+
const response = await fetchWithMethod(`/user/${userId}/profile`, HTTP_METHODS.PUT, body);
5656
if (response.ok) {
5757
return;
5858
} else {

0 commit comments

Comments
 (0)