Jiseoup/showmycodePublic
EN|KO
  • 코드
  • 커밋
  • 풀 리퀘스트
← 목록으로
Merged

fix: await async params in GitHub API route for Next.js 16

#4
JiseoupJiseoup · 2026년 3월 31일fix/api-route-params → main
fix
개요커밋변경된 파일

Related Issue

N/A — CI build failure

Changes

  • Update params type from { path: string[] } to Promise<{ path: string[] }> in API route
  • Add await params to match Next.js 16 async params convention

How to Verify

  1. npx tsc --noEmit passes with no errors
  2. npm run build passes (Node >= 20)
  3. Access /api/github/repos/{owner}/{repo} and confirm it still proxies correctly

Checklist

  • npm run build passes
  • npm run lint passes
  • New/updated strings added to both dictionaries/ko.json and dictionaries/en.json (if applicable)
  • Tests added for new functionality (if applicable)