From a30bc7f91d5252f3ae2c6abca1731637088c9753 Mon Sep 17 00:00:00 2001 From: 5nxtnxtnxt <5nxtnxtnxt@gmail.com> Date: Tue, 5 Dec 2023 10:52:12 +0900 Subject: [PATCH] =?UTF-8?q?fixed:=20=EB=A9=94=EC=8B=9C=EC=A7=80=20api=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EC=A7=84=EC=A7=9C=EA=B3=A0=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/pages/Visit/Deco/PostButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/pages/Visit/Deco/PostButton.tsx b/front/src/pages/Visit/Deco/PostButton.tsx index 38593ee..6ef2fb6 100644 --- a/front/src/pages/Visit/Deco/PostButton.tsx +++ b/front/src/pages/Visit/Deco/PostButton.tsx @@ -49,7 +49,7 @@ const PostButton = (props: ButtonProps) => { letter_id: letterID }; axios - .post(`/api/message//${snowBallData.id}`, a) + .post(`/api/message/${snowBallData.id}`, a) .then(() => { axios.get(`/api/snowball/${snowBallData.id}`).then(res => { setSnowBallData(res.data);