From d02f14e4a45338592d128a6d1134f92ab88e7620 Mon Sep 17 00:00:00 2001 From: yang Date: Sat, 11 Nov 2023 16:05:40 +0900 Subject: [PATCH] =?UTF-8?q?RAC-136=20fix=20:=20=EC=9D=91=EB=8B=B5=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/auth/exception/PermissionDeniedException.java | 4 ++-- .../domain/auth/presentation/contant/AuthResponseCode.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/postgraduate/domain/auth/exception/PermissionDeniedException.java b/src/main/java/com/postgraduate/domain/auth/exception/PermissionDeniedException.java index d6b2d8c1..cc8e6966 100644 --- a/src/main/java/com/postgraduate/domain/auth/exception/PermissionDeniedException.java +++ b/src/main/java/com/postgraduate/domain/auth/exception/PermissionDeniedException.java @@ -1,12 +1,12 @@ package com.postgraduate.domain.auth.exception; -import static com.postgraduate.domain.auth.presentation.contant.AuthResponseCode.AUTH_NONE; +import static com.postgraduate.domain.auth.presentation.contant.AuthResponseCode.AUTH_DENIED; import static com.postgraduate.domain.auth.presentation.contant.AuthResponseMessage.PERMISSION_DENIED; public class PermissionDeniedException extends AuthException { public PermissionDeniedException() { - super(PERMISSION_DENIED.getMessage(), AUTH_NONE.getCode()); + super(PERMISSION_DENIED.getMessage(), AUTH_DENIED.getCode()); } } diff --git a/src/main/java/com/postgraduate/domain/auth/presentation/contant/AuthResponseCode.java b/src/main/java/com/postgraduate/domain/auth/presentation/contant/AuthResponseCode.java index f4666a3c..6b9f8202 100644 --- a/src/main/java/com/postgraduate/domain/auth/presentation/contant/AuthResponseCode.java +++ b/src/main/java/com/postgraduate/domain/auth/presentation/contant/AuthResponseCode.java @@ -11,8 +11,9 @@ public enum AuthResponseCode { AUTH_CREATE("AU202"), AUTH_DELETE("AU203"), AUTH_ALREADY("AU204"), + AUTH_NONE("AU205"), - AUTH_NONE("EX900"), + AUTH_DENIED("EX900"), AUTH_INVALID_KAKAO("EX901"), AUTH_KAKAO_CODE("EX902"); private final String code;