diff --git a/src/main/java/com/umc/StudyFlexBE/service/NaverService.java b/src/main/java/com/umc/StudyFlexBE/service/NaverService.java index f22d261..36ae5e0 100644 --- a/src/main/java/com/umc/StudyFlexBE/service/NaverService.java +++ b/src/main/java/com/umc/StudyFlexBE/service/NaverService.java @@ -134,6 +134,8 @@ public Member registerOrAuthenticate(NaverDto naverUser) { newMember.setRole(Role.ROLE_USER); newMember.setNewUser(true); // 새로운 사용자 표시하기 + memberRepository.save(newMember); + return newMember; } } \ No newline at end of file