diff --git a/src/main/java/com/groom/wisebab/controller/MemberController.java b/src/main/java/com/groom/wisebab/controller/MemberController.java index afe8b26..07ff7a4 100644 --- a/src/main/java/com/groom/wisebab/controller/MemberController.java +++ b/src/main/java/com/groom/wisebab/controller/MemberController.java @@ -56,7 +56,7 @@ public ResponseEntity findMemberById(@PathVariable Long membe return ResponseEntity.ok(memberResponseDTO); } - @GetMapping("/members/username/{memberUsername}") + @GetMapping("/memberByUsername/{memberUsername}") public ResponseEntity findMemberByUsername(@PathVariable String memberUsername) { Member member = memberService.findMemberByUsername(memberUsername); MemberResponseDTO memberResponseDTO = new MemberResponseDTO(member.getId(), member.getUsername(), member.getNickname());