Skip to content

Commit 285676c

Browse files
committed
Delete user api endpoints fixed
1 parent 893c78f commit 285676c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

frontend/src/api/user.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ export function getProfilePicUrl(profilePicFileName : string | null) {
123123

124124

125125

126-
export async function deleteUser(id: string) {
127-
const response = await userServiceClient.delete(`/api/users/${id}`)
126+
export async function deleteUser(id: number) {
127+
const response = await apiGatewayClient.delete(`/api/users/${id}`)
128128

129129
return response;
130130
}

frontend/src/components/profile_page/DeleteUserCard/DeleteUserCard.component.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ export default function DeleteUserCard() {
6666
>
6767
</Input>
6868

69-
7069
</AlertDialogBody>
7170

7271
<AlertDialogFooter>

0 commit comments

Comments
 (0)