From 6971798a3ab71d9eb6196a0a90ef731bb970c6c3 Mon Sep 17 00:00:00 2001 From: firefox1234123 Date: Tue, 6 Aug 2024 21:24:03 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20postId=20=EA=B4=80=EB=A0=A8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skhu/likelion12thteam03be/post/api/dto/PostController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }