RED-6599 - No updated informations anymore after using /redaction-gateway-v1/user/{userId}

- use @CacheEvict on the activateProfile method
This commit is contained in:
devplant 2023-04-21 15:11:14 +03:00
parent 6220a85c76
commit 81d21f121b

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);