diff --git a/src/main/java/no/fintlabs/user/UserService.java b/src/main/java/no/fintlabs/user/UserService.java index a8b68b4..9644ebb 100644 --- a/src/main/java/no/fintlabs/user/UserService.java +++ b/src/main/java/no/fintlabs/user/UserService.java @@ -44,6 +44,7 @@ private Runnable onSaveNewUser(User user) { User newUser = userRepository.save(user); log.info("Create new user: " + user.getId()); memberService.process(memberService.create(newUser)); + log.info("created kontrollUser: " + newUser.getIdentityProviderUserObjectId()); userEntityProducerService.publish(newUser); }; } @@ -54,6 +55,7 @@ private Consumer onSaveExistingUser(User user) { log.info("Update user: " + user.getId()); memberService.process(memberService.create(user)); User savedUser = userRepository.save(user); + log.info("update kontrollUser: " + savedUser.getIdentityProviderUserObjectId()); userEntityProducerService.publish(savedUser); }; }