From 4475f22146854343f0abea34fa2bfdbfbd052c3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EC=8B=AC=EC=9E=AC=EC=97=BD?= <jysim0326@ajou.ac.kr>
Date: Mon, 9 Dec 2024 11:39:42 +0900
Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=B9=9C=EA=B5=AC=20=EC=82=AD?=
 =?UTF-8?q?=EC=A0=9C=20api=20=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/api/friend.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/friend.js b/src/api/friend.js
index 8408fcc..b94dc62 100644
--- a/src/api/friend.js
+++ b/src/api/friend.js
@@ -121,7 +121,7 @@ export const getAllFriends = async (page = 0, size = 10) => {
  * @returns {Promise<Object>} - 삭제 결과 데이터
  */
 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",
   });
 
-- 
GitLab