Skip to content

Commit

Permalink
fix: 회원 탈퇴 안되던 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gihwan-dev committed Oct 7, 2024
1 parent 0126d39 commit 7ca6512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/user/deleteUser.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { privateAxios } from '@/libs/baseAxios.ts';
import { deleteDeviceToken } from '@/apis/user/deleteDeviceToken.ts';

const requestDeleteUser = () => privateAxios.post('/users/withdraw');
const requestDeleteUser = () => privateAxios.delete('/users/withdraw');

export const deleteUser = async () => {
await deleteDeviceToken();
Expand Down

0 comments on commit 7ca6512

Please sign in to comment.