Refactor: 인증 콜백 에러 메시지 변수에 타입 명시
app/auth/callback/route.ts - AUTH_ERROR_MESSAGES.DEFAULT를 할당하는 message 변수에 string 타입 명시
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user