We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b0cac3 commit d27c010Copy full SHA for d27c010
csm_web/frontend/src/utils/queries/profiles.tsx
@@ -52,7 +52,7 @@ export const useUserInfoUpdateMutation = (userId: number): UseMutationResult<voi
52
if (isNaN(userId)) {
53
throw new PermissionError("Invalid user id");
54
}
55
- const response = await fetchWithMethod(`/user/${userId}/profile`, HTTP_METHODS.PATCH, body);
+ const response = await fetchWithMethod(`/user/${userId}/profile`, HTTP_METHODS.PUT, body);
56
if (response.ok) {
57
return;
58
} else {
0 commit comments