Skip to content

Commit

Permalink
fix: sysout 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
jinlee1703 committed Apr 15, 2024
1 parent 07a3275 commit 8e37588
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public ResponseEntity<?> checkUsername(@RequestParam @Validated String username)
public ResponseEntity<?> findUsername(@RequestParam @Validated String phone) {
return ResponseEntity.ok(
SuccessResponse.from("username",
authCheckUseCase.findUsername("010-2629-4624")));
authCheckUseCase.findUsername(phone)));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public boolean checkUsernameDuplicate(String username) {

@Transactional(readOnly = true)
public String findUsername(String phone) {
System.out.println("phone: " + userService.readUserByPhone("010-2629-4624"));
return userService.readUserByPhone(phone)
.map(user -> user.getUsername())
.orElse(null);
Expand Down

0 comments on commit 8e37588

Please sign in to comment.