Skip to content
Snippets Groups Projects
Commit afc12f54 authored by tpgus2603's avatar tpgus2603
Browse files

refactor: 세션조회 json 수정

parent e0f82b7b
No related branches found
No related tags found
1 merge request!42[#25] 배포코드 master브랜치로 이동
File deleted
...@@ -9,10 +9,7 @@ router.get('/info', (req, res) => { ...@@ -9,10 +9,7 @@ router.get('/info', (req, res) => {
res.set('Cache-Control', 'no-store'); res.set('Cache-Control', 'no-store');
res.set('Pragma', 'no-cache'); res.set('Pragma', 'no-cache');
return res.status(200).json({ return res.status(200).json({
user: { email,name
email,
name,
},
}); });
} }
// 세션이 만료되었거나 사용자 정보가 없는 경우 // 세션이 만료되었거나 사용자 정보가 없는 경우
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment