From eafca3f3a59c059d41e5a4231829514e828bfc64 Mon Sep 17 00:00:00 2001 From: chaem03 Date: Sat, 5 Oct 2024 02:16:00 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]#27=20-=20API=20=EC=97=B0=EA=B2=B0=20test?= =?UTF-8?q?=20=EB=B0=8F=20=EC=9A=94=EC=9D=BC=20=EB=B3=80=ED=99=98=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/booth.js | 1 + src/pages/booth/BoothPage.jsx | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/apis/booth.js b/src/apis/booth.js index 90a4926..6e502f0 100644 --- a/src/apis/booth.js +++ b/src/apis/booth.js @@ -17,6 +17,7 @@ export const getBoothList = async ({ if (is_night !== undefined) params.append("is_night", is_night); if (is_reservable !== undefined) params.append("is_reservable", is_reservable); + console.log("params:", params.toString()); // 파라미터들을 포함한 GET 요청 const res = await instance.get(`api/v1/booth/?${params.toString()}`); diff --git a/src/pages/booth/BoothPage.jsx b/src/pages/booth/BoothPage.jsx index ef81372..dc3fecb 100644 --- a/src/pages/booth/BoothPage.jsx +++ b/src/pages/booth/BoothPage.jsx @@ -25,6 +25,11 @@ export const BoothPage = () => { const dayMap = { 월: "Mon", 화: "Tue", + 수: "Wed", + 목: "Thu", + 금: "Fri", + 토: "Sat", + 일: "Sun", }; return dayMap[day] || ""; // 해당 요일의 영어 이름 반환 };