Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
리팩토링
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Jan 29, 2024
1 parent 7f07ac8 commit 07f2bbb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ public Mono<AuthCodeVerifyResponse> execute(AuthCodeVerifyRequest request) {
private static final String SUCCESS = "인증에 성공했습니다.";
private static final String FAIL = "인증에 실패했습니다.";

private AuthCodeVerifyResponse getResponse(Boolean bool) {
String message = bool ? SUCCESS : FAIL;
private AuthCodeVerifyResponse getResponse(Boolean isVerify) {
String message = isVerify ? SUCCESS : FAIL;

return AuthCodeVerifyResponse.builder()
.isSuccess(bool)
.isSuccess(isVerify)
.message(message)
.build();
}
Expand Down

0 comments on commit 07f2bbb

Please sign in to comment.