Skip to content

Commit

Permalink
Update src/main/kotlin/com/msg/gauth/domain/user/service/AcceptUserSi…
Browse files Browse the repository at this point in the history
…gnUpService.kt

Co-authored-by: 김태오 <[email protected]>
  • Loading branch information
Umjiseung and KimTaeO authored Sep 18, 2024
1 parent 51d9ee6 commit 702b62b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 702b62b

Please sign in to comment.