fix: getSession to getDbSession to avoid h3 conflict
This commit is contained in:
@@ -12,7 +12,7 @@ export default defineEventHandler(async (event) => {
|
||||
}
|
||||
|
||||
// DB에서 세션 조회
|
||||
const session = await getSession(sessionId)
|
||||
const session = await getDbSession(sessionId)
|
||||
|
||||
if (!session) {
|
||||
// 세션이 만료되었거나 없음 → 쿠키 삭제
|
||||
|
||||
Reference in New Issue
Block a user