diff --git a/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/PostController.java b/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/PostController.java index c079f46..2758881 100644 --- a/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/PostController.java +++ b/src/main/java/net/skhu/likelion12thteam03be/post/api/dto/PostController.java @@ -43,7 +43,7 @@ public ResponseEntity postFindAll() { // 글 개별 조회 @GetMapping("/{postId}") - public ResponseEntity postFindById(@PathVariable Long postId) { + public ResponseEntity postFindById(@PathVariable("postId") Long postId) { PostInfoResDto postInfoResDto = postService.postFindById(postId); return new ResponseEntity<>(postInfoResDto, HttpStatus.OK); }