Skip to content

Commit

Permalink
fix : 아래 내용과 동일
Browse files Browse the repository at this point in the history
  • Loading branch information
KangJiSseok committed Jun 19, 2024
1 parent 6fac2b7 commit 82c00ae
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ public Member findById(EmailRequest emailRequest) {

if(findMember.isEmpty()) throw new FindEmailException();
Member member = findMember.get();
member.setPassword(null);
member.setFirebaseToken(null);
return member;
}

Expand Down Expand Up @@ -138,6 +136,7 @@ public TokenMessage login(LoginRequest request) {
if (!user.isEmpty()) {
Member member = user.get();
member.setFirebaseToken(request.getFCMToken());
jpaMemberRepository.save(member);
return handleExistingMemberLogin(user.get());
} else {
throw new LoginFailException();
Expand Down

0 comments on commit 82c00ae

Please sign in to comment.