비로그인시 파일 다운로드 오류 수정.

thkim
강석 최 2024-03-04 15:21:40 +09:00
parent f1f0602d4e
commit 2b962e7f7f
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}