diff --git a/egovframe-template-simple-react-contribution/src/utils/file.jsx b/egovframe-template-simple-react-contribution/src/utils/file.jsx index 413494c..678ff4b 100644 --- a/egovframe-template-simple-react-contribution/src/utils/file.jsx +++ b/egovframe-template-simple-react-contribution/src/utils/file.jsx @@ -7,5 +7,5 @@ export function download(fileSeq){ } export function standardCode(fileSeq){ const sessionUser = parseJwt(getLocalItem('accessToken')); - window.open(encodeURI(SERVER_URL+'/file/standardCode-download?userId='+sessionUser.id+'&fileSeq='+fileSeq)); + window.open(encodeURI(SERVER_URL+'/file/standardCode-download?userId='+sessionUser?.id+'&fileSeq='+fileSeq)); }