From c98d8d7e2642a196e60952326d0e6ba80bd418dc Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 03:17:07 +0100 Subject: [PATCH] log correct name in user creation --- src/main/java/cc/fascinated/bat/service/UserService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/bat/service/UserService.java b/src/main/java/cc/fascinated/bat/service/UserService.java index a0e3597..b5b5367 100644 --- a/src/main/java/cc/fascinated/bat/service/UserService.java +++ b/src/main/java/cc/fascinated/bat/service/UserService.java @@ -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; }