From 702b62b049999391de4c6e1a6a528d81c9c8d08b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=97=84=EC=A7=80=EC=84=B1?= <127853946+Umjiseung@users.noreply.github.com> Date: Wed, 18 Sep 2024 23:41:25 +0900 Subject: [PATCH] Update src/main/kotlin/com/msg/gauth/domain/user/service/AcceptUserSignUpService.kt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 김태오 <103710151+KimTaeO@users.noreply.github.com> --- .../msg/gauth/domain/user/service/AcceptUserSignUpService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/msg/gauth/domain/user/service/AcceptUserSignUpService.kt b/src/main/kotlin/com/msg/gauth/domain/user/service/AcceptUserSignUpService.kt index dd56b887..01c8ef37 100644 --- a/src/main/kotlin/com/msg/gauth/domain/user/service/AcceptUserSignUpService.kt +++ b/src/main/kotlin/com/msg/gauth/domain/user/service/AcceptUserSignUpService.kt @@ -15,7 +15,7 @@ class AcceptUserSignUpService( private val userRoleRepository: UserRoleRepository ) { - @CacheEvict(value = ["AcceptedUser"], allEntries = true, cacheManager = "redisCacheManager") + @CacheEvict(value = ["AcceptedUsers"], allEntries = true, cacheManager = "redisCacheManager") fun execute(id: Long, acceptUserReqDto: AcceptUserReqDto) { val user = userRepository.findByIdAndState(id, UserState.PENDING) ?: throw UserNotFoundException()