Skip to content

Commit

Permalink
Merge pull request #141 from boostcampwm2023/hotfix/shape-loading-error
Browse files Browse the repository at this point in the history
hotfix: 수정 모달 호출 시 에러 발생 수정
  • Loading branch information
mingxoxo authored Nov 23, 2023
2 parents d1c3f8a + 99eb200 commit c6d95da
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 c6d95da

Please sign in to comment.