북마크 모달 오류 수정.

thkim
강석 최 2024-02-13 17:59:31 +09:00
parent 60521e4995
commit f210629907
1 changed files with 3 additions and 7 deletions

View File

@ -49,17 +49,13 @@ const BookmarkModal = ({docCode, docPart, ymd}) => {
})
const getCodeInfo = useCallback(() => {
console.groupCollapsed("EgovMain.getCodeInfo()");
EgovNet.requestFetch(
'/standardCode/getCodeInfo.do',
'/standardCode/code-info?docCode='+docCode,
{
method: "POST",
method: "GET",
headers: {
'Content-type': 'application/json'
},
body: JSON.stringify({
docCode: docCode
})
}
},
(resp) => {
const docInfo = resp.result.docInfo;