Skip to content

Commit e53861f

Browse files
committed
refactor(user): 오타 수정
1 parent 5b50d7d commit e53861f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/somemore/user/controller/UserCommandController.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class UserCommandController {
2727
@Secured("ROLE_VOLUNTEER")
2828
@PutMapping("/basic-info/volunteer")
2929
@Operation(summary = "봉사자 기본 정보 업데이트", description = "봉사자의 기본 정보를 업데이트합니다.")
30-
public ApiResponse<String> registerBasicInfo(
30+
public ApiResponse<String> updateBasicInfo(
3131
@UserId UUID userId,
3232
@RequestBody VolunteerBasicInfoRequestDto volunteerBasicInfoRequestDto
3333
) {
@@ -38,11 +38,12 @@ public ApiResponse<String> registerBasicInfo(
3838
@Secured("ROLE_CENTER")
3939
@PutMapping("/basic-info/center")
4040
@Operation(summary = "센터 기본 정보 업데이트", description = "센터의 기본 정보를 업데이트합니다.")
41-
public ApiResponse<String> registerBasicInfo(
41+
public ApiResponse<String> updateBasicInfo(
4242
@UserId UUID userId,
4343
@RequestBody CenterBasicInfoRequestDto centerBasicInfoRequestDto
4444
) {
4545
updateBasicInfoUseCase.update(userId, centerBasicInfoRequestDto);
4646
return ApiResponse.ok("센터 기본 정보 업데이 완료");
4747
}
48+
4849
}

0 commit comments

Comments
 (0)