log correct name in user creation

This commit is contained in:
Lee 2024-07-04 03:17:07 +01:00
parent 49beb864d2
commit c98d8d7e26

@ -78,7 +78,7 @@ public class UserService implements EventListener {
// New user
BatUser batUser = new BatUser(id, new Document());
users.put(id, batUser);
log.info("Created user \"{}\" - \"{}\"", user.getName(), user.getId());
log.info("Created user \"{}\" - \"{}\"", batUser.getName(), batUser.getId());
return batUser;
}