Skip to content

Commit

Permalink
Merge pull request #31 from goormthon-Univ/dev
Browse files Browse the repository at this point in the history
[Fix] 이메일로 회원조회 URI 수정
  • Loading branch information
namkikim0718 authored Mar 23, 2024
2 parents ff7ac49 + 628af87 commit d70087d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public ResponseEntity<MemberResponseDTO> findMemberById(@PathVariable Long membe
return ResponseEntity.ok(memberResponseDTO);
}

@GetMapping("/members/username/{memberUsername}")
@GetMapping("/memberByUsername/{memberUsername}")
public ResponseEntity<MemberResponseDTO> findMemberByUsername(@PathVariable String memberUsername) {
Member member = memberService.findMemberByUsername(memberUsername);
MemberResponseDTO memberResponseDTO = new MemberResponseDTO(member.getId(), member.getUsername(), member.getNickname());
Expand Down

0 comments on commit d70087d

Please sign in to comment.