diff --git a/src/main/java/univ/yesummit/domain/board/api/BoardController.java b/src/main/java/univ/yesummit/domain/board/api/BoardController.java index 64023a4..1341f0f 100644 --- a/src/main/java/univ/yesummit/domain/board/api/BoardController.java +++ b/src/main/java/univ/yesummit/domain/board/api/BoardController.java @@ -73,8 +73,8 @@ public ResponseEntity boardInfo(@PathVariable(name = "boardId") @ApiResponse(responseCode = "404", description = "게시글 없음", content = @Content(schema = @Schema(example = "게시글이 존재하지 않습니다."))), }) @GetMapping("/my") - public ResponseEntity myBoardInfo(@User LoginUser loginUser, @PathVariable(name = "boardId") Long boardId) { - BoardInfoResDto myBoardInfo = boardService.myBoardInfo(loginUser.getMemberId(), boardId); + public ResponseEntity myBoardInfo(@User LoginUser loginUser) { + BoardInfoResDto myBoardInfo = boardService.myBoardInfo(loginUser.getMemberId()); return new ResponseEntity<>(myBoardInfo, HttpStatus.OK); } @@ -107,4 +107,5 @@ public ResponseEntity boardDelete(@User LoginUser loginUser, boardService.boardDelete(loginUser.getMemberId(), boardId); return new ResponseEntity<>(HttpStatus.NO_CONTENT); } + }