Skip to content

Commit

Permalink
Merge pull request #303 from dnd-side-project/fix-302
Browse files Browse the repository at this point in the history
[# 302] 회원 탈퇴 안되던 문제 수정
  • Loading branch information
gihwan-dev authored Oct 7, 2024
2 parents aa3689f + e0c4f47 commit 729ddb1
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 729ddb1

Please sign in to comment.