Skip to content
Snippets Groups Projects
Commit 4475f221 authored by 심재엽's avatar 심재엽
Browse files

refactor: 친구 삭제 api 경로 수정

parent 9d54bb73
No related branches found
No related tags found
1 merge request!37refactor: fcm token 저장시 문구 변경, 친구 삭제 api 경로 수정
...@@ -121,7 +121,7 @@ export const getAllFriends = async (page = 0, size = 10) => { ...@@ -121,7 +121,7 @@ export const getAllFriends = async (page = 0, size = 10) => {
* @returns {Promise<Object>} - 삭제 결과 데이터 * @returns {Promise<Object>} - 삭제 결과 데이터
*/ */
export const deleteFriend = async (friendId) => { export const deleteFriend = async (friendId) => {
const response = await fetch(`${BASE_URL}/api/friends/${friendId}`, { const response = await fetch(`${BASE_URL}/api/friend/${friendId}`, {
method: "DELETE", method: "DELETE",
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment