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 893c78f commit 285676cCopy full SHA for 285676c
frontend/src/api/user.ts
@@ -123,8 +123,8 @@ export function getProfilePicUrl(profilePicFileName : string | null) {
123
124
125
126
-export async function deleteUser(id: string) {
127
- const response = await userServiceClient.delete(`/api/users/${id}`)
+export async function deleteUser(id: number) {
+ const response = await apiGatewayClient.delete(`/api/users/${id}`)
128
129
return response;
130
}
frontend/src/components/profile_page/DeleteUserCard/DeleteUserCard.component.tsx
@@ -66,7 +66,6 @@ export default function DeleteUserCard() {
66
>
67
</Input>
68
69
-
70
</AlertDialogBody>
71
72
<AlertDialogFooter>
0 commit comments