Pull request #675: RED-6599 - No updated informations anymore after using /redaction-gateway-v1/user/{userId}

Merge in RED/persistence-service from bugfix/RED-6599 to master

* commit '81d21f121bf802bdfba6c2428c63b282f1b52c3e':
  RED-6599 - No updated informations anymore after using /redaction-gateway-v1/user/{userId} - use @CacheEvict on the activateProfile method
This commit is contained in:
Corina Olariu 2023-04-21 16:46:03 +02:00
commit 64a857d498

View File

@ -531,6 +531,7 @@ public class UserService {
}
@CacheEvict(value = USERS_CACHE, allEntries = true, beforeInvocation = true)
public User activateProfile(String userId, boolean isActive) {
var user = this.getUserResource(userId);