We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfb9b54 commit 645809bCopy full SHA for 645809b
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