Skip to content

Commit

Permalink
#256 Fix: 컨트롤러 코드 수정
Browse files Browse the repository at this point in the history
생성하는데 id를 받아오고 있어서 수정...
  • Loading branch information
lee-haeseung committed Nov 1, 2024
1 parent b0fe3ad commit 445109c
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ public class CommentController {
private final CommentService commentService;

@Operation(summary = "댓글 달기")
@PostMapping("/{comment_id}")
public ApiResponse<?> commentPost(
@PathVariable("post_id") Long postId,
@PathVariable("comment_id") Long commentId
) {
@PostMapping()
public ApiResponse<?> commentPost(@PathVariable("post_id") Long postId) {
return null;
}

Expand Down

0 comments on commit 445109c

Please sign in to comment.