Skip to content

Commit

Permalink
refactor: 메서드 명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Dec 23, 2024
1 parent eb65b49 commit db51d08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface UserUseCase {

void apply(SignUp dto);

void register(Register dto);
void socialRegister(Register dto);

JwtDto refresh(String refreshToken);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void apply(SignUp dto) {

@Override
@Transactional
public void register(Register dto) {
public void socialRegister(Register dto) {
validate(dto);
userSaveService.save(mapper.from(dto));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public CommonResponse<Void> apply(@RequestBody @Valid SignUp dto) {
@PostMapping("/kakao/register")
@Operation(summary = "소셜 회원가입")
public CommonResponse<Void> register(@RequestBody @Valid Register dto) {
userUseCase.register(dto);
userUseCase.socialRegister(dto);
return CommonResponse.createSuccess(USER_APPLY_SUCCESS.getMessage());
}

Expand Down

0 comments on commit db51d08

Please sign in to comment.