Skip to content

Commit

Permalink
fix: postId 관련 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
firefox1234123 committed Aug 6, 2024
1 parent 521ce60 commit 6971798
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ResponseEntity<PostListResDto> postFindAll() {

// 글 개별 조회
@GetMapping("/{postId}")
public ResponseEntity<PostInfoResDto> postFindById(@PathVariable Long postId) {
public ResponseEntity<PostInfoResDto> postFindById(@PathVariable("postId") Long postId) {
PostInfoResDto postInfoResDto = postService.postFindById(postId);
return new ResponseEntity<>(postInfoResDto, HttpStatus.OK);
}
Expand Down

0 comments on commit 6971798

Please sign in to comment.