diff --git a/FE/src/components/DiaryModal/DiaryUpdateModal.js b/FE/src/components/DiaryModal/DiaryUpdateModal.js index fee2f2d..f002c0f 100644 --- a/FE/src/components/DiaryModal/DiaryUpdateModal.js +++ b/FE/src/components/DiaryModal/DiaryUpdateModal.js @@ -14,7 +14,7 @@ async function getShapeFn() { headers: { "Content-Type": "application/json", }, - }); + }).then((res) => res.json()); } async function updateDiaryFn(data) { @@ -25,7 +25,7 @@ async function updateDiaryFn(data) { Authorization: `Bearer ${data.accessToken}`, }, body: JSON.stringify(data.diaryData), - }).then((res) => res.json()); + }); } async function getDiary(accessToken, diaryUuid) {