diff --git a/src/main/java/com/totopia/server/modules/user/service/UserService.java b/src/main/java/com/totopia/server/modules/user/service/UserService.java index 488fbc9..e74d090 100644 --- a/src/main/java/com/totopia/server/modules/user/service/UserService.java +++ b/src/main/java/com/totopia/server/modules/user/service/UserService.java @@ -120,6 +120,8 @@ public class UserService { existEntity.setUpdatedAt(new Date()); - this.userRepository.save(existEntity); + existEntity = this.userRepository.save(existEntity); + + return existEntity; } }