diff --git a/CONFIG b/CONFIG index 374a89d..926f626 160000 --- a/CONFIG +++ b/CONFIG @@ -1 +1 @@ -Subproject commit 374a89daa12f23322eea9695d4d3e7d8c321f0d0 +Subproject commit 926f626ee9ba04605ef78da461e77f6d048fedc7 diff --git a/src/main/kotlin/com/vacgom/backend/member/exception/HealthConditionError.kt b/src/main/kotlin/com/vacgom/backend/member/exception/HealthConditionError.kt index f99dcfa..2caa3c2 100644 --- a/src/main/kotlin/com/vacgom/backend/member/exception/HealthConditionError.kt +++ b/src/main/kotlin/com/vacgom/backend/member/exception/HealthConditionError.kt @@ -4,9 +4,10 @@ import com.vacgom.backend.global.exception.error.ErrorCode import org.springframework.http.HttpStatus enum class HealthConditionError( - override val message: String, - override val status: HttpStatus, - override val code: String, + override val message: String, + override val status: HttpStatus, + override val code: String, ) : ErrorCode { INVALID_HEALTH_CONDITION("올바르지 않은 Health Condition입니다.", HttpStatus.BAD_REQUEST, "HC_001"), } + diff --git a/src/main/kotlin/com/vacgom/backend/member/exception/MemberError.kt b/src/main/kotlin/com/vacgom/backend/member/exception/MemberError.kt index ce2e86f..a8d6095 100644 --- a/src/main/kotlin/com/vacgom/backend/member/exception/MemberError.kt +++ b/src/main/kotlin/com/vacgom/backend/member/exception/MemberError.kt @@ -3,7 +3,6 @@ package com.vacgom.backend.member.exception import com.vacgom.backend.global.exception.error.ErrorCode import org.springframework.http.HttpStatus - enum class MemberError( override val message: String, override val status: HttpStatus, diff --git a/src/main/kotlin/com/vacgom/backend/member/presentation/MeController.kt b/src/main/kotlin/com/vacgom/backend/member/presentation/MeController.kt index 7e84f14..2285c34 100644 --- a/src/main/kotlin/com/vacgom/backend/member/presentation/MeController.kt +++ b/src/main/kotlin/com/vacgom/backend/member/presentation/MeController.kt @@ -3,6 +3,7 @@ package com.vacgom.backend.member.presentation import com.vacgom.backend.auth.application.dto.response.MeResponse import com.vacgom.backend.disease.domain.constants.HealthCondition import com.vacgom.backend.global.exception.error.BusinessException +import com.vacgom.backend.global.exception.error.GlobalError import com.vacgom.backend.global.security.annotation.AuthId import com.vacgom.backend.member.application.MemberService import com.vacgom.backend.member.application.dto.request.UpdateHealthConditionRequest