Skip to content

Commit

Permalink
fix(MemberService): return name for loginID
Browse files Browse the repository at this point in the history
  • Loading branch information
becooq81 authored Aug 6, 2024
1 parent 5b58ff4 commit f652a68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public List<Member> getAllMembersAndUpdateMemberIsExcepted() {
public String findNameByLoginID(String loginID) {
Member member = memberRepository.findByLoginID(loginID)
.orElseThrow(() -> new NoSuchElementException("No member with given login ID."));
return member.getLoginID();
return member.getName();
}

private String resetMemberPasswordToken(String email) {
Expand Down

0 comments on commit f652a68

Please sign in to comment.