Skip to content

Commit

Permalink
Update MemberController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
gytjd committed Oct 30, 2024
1 parent b611289 commit 3629169
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public CommonResult deleteMember(@RequestBody MemberDeleteRequestDto deleteMembe
@GetMapping("/email/{email}") // PathVariable로 이메일을 전달
public SingleResult<MemberCredentialDTO> getMember(@PathVariable String email) {
Member findMember = memberService.getMemberByEmail(email); // Optional을 반환하지 않는다고 가정
System.out.println(email);
System.out.println(findMember.getAccess_key());
System.out.println(findMember.getSecret_key());

if (findMember != null) {
// Member 정보를 MemberCredentialDTO로 변환
Expand Down

0 comments on commit 3629169

Please sign in to comment.