diff --git a/src/main/kotlin/com/restaurant/be/common/exception/GlobalExceptionHandler.kt b/src/main/kotlin/com/restaurant/be/common/exception/GlobalExceptionHandler.kt index 27ffb87..9e130d9 100644 --- a/src/main/kotlin/com/restaurant/be/common/exception/GlobalExceptionHandler.kt +++ b/src/main/kotlin/com/restaurant/be/common/exception/GlobalExceptionHandler.kt @@ -18,7 +18,7 @@ import java.security.SignatureException @RestControllerAdvice class GlobalExceptionHandler { - + // asdasdsa @ExceptionHandler(ServerException::class) fun handleServerException( ex: ServerException, diff --git a/src/main/kotlin/com/restaurant/be/common/password/PasswordService.kt b/src/main/kotlin/com/restaurant/be/common/password/PasswordService.kt index c2717cc..a7ace62 100644 --- a/src/main/kotlin/com/restaurant/be/common/password/PasswordService.kt +++ b/src/main/kotlin/com/restaurant/be/common/password/PasswordService.kt @@ -3,7 +3,6 @@ package com.restaurant.be.common.password import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder object PasswordService { - private val encoder = BCryptPasswordEncoder() fun hashPassword(password: String): String { return encoder.encode(password) diff --git a/src/main/kotlin/com/restaurant/be/user/domain/entity/User.kt b/src/main/kotlin/com/restaurant/be/user/domain/entity/User.kt index b869310..96f423d 100644 --- a/src/main/kotlin/com/restaurant/be/user/domain/entity/User.kt +++ b/src/main/kotlin/com/restaurant/be/user/domain/entity/User.kt @@ -18,10 +18,10 @@ class User( var id: Long? = null, @Column(unique = true) - var email: String = "", + var email: String = "", // asdqwe @Column(unique = true) - var nickname: String = "", + var nickname: String = "", // qwe var password: String = "",