Refactor: 인증 콜백 에러 메시지 변수에 타입 명시

app/auth/callback/route.ts
- AUTH_ERROR_MESSAGES.DEFAULT를 할당하는 message 변수에 string 타입 명시
This commit is contained in:
2026-02-04 12:28:15 +09:00
parent 4b41267ea5
commit edcfa2a837

View File

@@ -26,7 +26,7 @@ export async function GET(request: Request) {
error_description,
});
let message = AUTH_ERROR_MESSAGES.DEFAULT;
let message: string = AUTH_ERROR_MESSAGES.DEFAULT;
// 에러 종류에 따른 메시지 분기
if (error === "access_denied") {