Skip to content

Commit

Permalink
Review 수정 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
hOch1 committed Oct 15, 2024
1 parent 497e34e commit 94563b9
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@ public ResponseEntity<ApiResponse<String>> addReview(@AuthenticationPrincipal Me
return ResponseEntity.ok(new ApiResponse<>("success"));
}

@PatchMapping("/{reviewId}")
@Operation(summary = "리뷰 수정")
public ResponseEntity<ApiResponse<String>> updateReview(@AuthenticationPrincipal Member member,
@PathVariable Long reviewId,
@RequestBody ReviewDto reviewDto) {

reviewService.updateReview(member, reviewId, reviewDto);
return ResponseEntity.ok(new ApiResponse<>("success"));
}

@DeleteMapping("/{reviewId}")
@Operation(summary = "리뷰 삭제")
public ResponseEntity<ApiResponse<String>> deleteReview(@AuthenticationPrincipal Member member,
Expand Down

0 comments on commit 94563b9

Please sign in to comment.