Skip to content

Commit

Permalink
hotfix: 수정 모달 호출 시 에러 발생 수정
Browse files Browse the repository at this point in the history
json 함수 지우는 부분을 잘못 지워 에러가 발생하는 부분을 수정하였습니다.
  • Loading branch information
dbwhdtjr0457 committed Nov 23, 2023
1 parent d1c3f8a commit 99eb200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FE/src/components/DiaryModal/DiaryUpdateModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function getShapeFn() {
headers: {
"Content-Type": "application/json",
},
});
}).then((res) => res.json());
}

async function updateDiaryFn(data) {
Expand All @@ -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) {
Expand Down

0 comments on commit 99eb200

Please sign in to comment.