작업계획서대로 진행

This commit is contained in:
2026-01-11 01:29:46 +09:00
parent 1b8cd8577e
commit 01bd66d524
51 changed files with 11124 additions and 273 deletions

View File

@@ -2,6 +2,13 @@ import type { H3Event } from 'h3'
import { queryOne } from './db'
import { getAuthenticatedUserId } from './session'
/**
* 현재 로그인한 사용자의 ID 조회
*/
export async function getCurrentUserId(event: H3Event): Promise<number | null> {
return await getAuthenticatedUserId(event)
}
/**
* 현재 로그인한 사용자의 이메일 조회
*/