Skip to content

Commit b744386

Browse files
committed
refactor(recruit-board): 와일드 카드 제거
1 parent 47e49dd commit b744386

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/somemore/recruitboard/controller/RecruitBoardCommandApiController.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public ApiResponse<Long> createRecruitBoard(
6363
@PreAuthorize("hasRole('CENTER')")
6464
@Operation(summary = "봉사 활동 모집글 수정", description = "봉사 활동 모집글을 수정합니다.")
6565
@PutMapping(value = "/recruit-board/{id}", consumes = MULTIPART_FORM_DATA_VALUE)
66-
public ApiResponse<?> updateRecruitBoard(
66+
public ApiResponse<String> updateRecruitBoard(
6767
@AuthenticationPrincipal String userId,
6868
@PathVariable Long id,
6969
@Valid @RequestPart("data") RecruitBoardUpdateRequestDto requestDto,
@@ -78,7 +78,7 @@ public ApiResponse<?> updateRecruitBoard(
7878
@PreAuthorize("hasRole('CENTER')")
7979
@Operation(summary = "봉사 활동 모집글 위치 수정", description = "봉사 활동 모집글의 위치를 수정합니다.")
8080
@PutMapping(value = "/recruit-board/{id}/location")
81-
public ApiResponse<?> updateRecruitBoardLocation(
81+
public ApiResponse<String> updateRecruitBoardLocation(
8282
@AuthenticationPrincipal String userId,
8383
@PathVariable Long id,
8484
@Valid @RequestBody RecruitBoardLocationUpdateRequestDto requestDto
@@ -91,7 +91,7 @@ public ApiResponse<?> updateRecruitBoardLocation(
9191
@PreAuthorize("hasRole('CENTER')")
9292
@Operation(summary = "봉사 활동 모집글 상태 수정", description = "봉사 활동 모집글의 상태를 수정합니다.")
9393
@PatchMapping(value = "/recruit-board/{id}")
94-
public ApiResponse<?> updateRecruitBoardStatus(
94+
public ApiResponse<String> updateRecruitBoardStatus(
9595
@AuthenticationPrincipal String userId,
9696
@PathVariable Long id,
9797
@RequestBody RecruitBoardStatusUpdateRequestDto requestDto
@@ -106,7 +106,7 @@ public ApiResponse<?> updateRecruitBoardStatus(
106106
@PreAuthorize("hasRole('CENTER')")
107107
@Operation(summary = "봉사 활동 모집글 삭제", description = "봉사 활동 모집글을 삭제합니다.")
108108
@DeleteMapping(value = "/recruit-board/{id}")
109-
public ApiResponse<?> deleteRecruitBoard(
109+
public ApiResponse<String> deleteRecruitBoard(
110110
@AuthenticationPrincipal String userId,
111111
@PathVariable Long id
112112
) {

0 commit comments

Comments
 (0)