Skip to content

Commit

Permalink
fix: 올바르지 않은 관리자 에러 코드 수정
Browse files Browse the repository at this point in the history
- Admin_404_5 -> Admin_401_1
issue #27
  • Loading branch information
Zepelown committed Oct 13, 2024
1 parent 50f5609 commit eeae2f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ enum class AdminErrorCode(
BAD_REQUEST_ADMIN_NAME(HttpStatus.BAD_REQUEST,"Admin_400_2","이름이 형식에 맞지 않습니다."),
BAD_REQUEST_EXIST_ADMIN(HttpStatus.BAD_REQUEST, "Admin_400_3","이미 존재하는 어드민입니다."),
BAD_REQUEST_NOT_EXIST_ADMIN(HttpStatus.BAD_REQUEST, "Admin_400_4","이미 존재하는 어드민입니다."),
UNAUTHORIZED_ADMIN_EXPIRE_TOKEN(HttpStatus.UNAUTHORIZED,"Admin_400_5","만료된 어드민 정보입니다.");
UNAUTHORIZED_ADMIN_EXPIRE_TOKEN(HttpStatus.UNAUTHORIZED,"Admin_401_1","만료된 어드민 정보입니다.");

override fun getErrorReason(): ErrorReason {
return ErrorReason(httpStatus, code, message)
Expand Down

0 comments on commit eeae2f2

Please sign in to comment.