Skip to content

Commit

Permalink
[#131] refactor: modify name of getPost
Browse files Browse the repository at this point in the history
  • Loading branch information
seongddiyong committed Sep 22, 2023
1 parent 1598431 commit d622436
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public BaseResponse<Long> writeBoard(@RequestBody BoardWriteRequest request, Htt
}

@GetMapping("/{boardIdx}")
public BaseResponse<BoardPostViewResponse> getMyPost(@PathVariable Long boardIdx, HttpServletRequest token) throws BaseException {
public BaseResponse<BoardPostViewResponse> getPostView(@PathVariable Long boardIdx, HttpServletRequest token) throws BaseException {
return new BaseResponse<>(boardService.getPostView(boardIdx, token));
}

Expand Down

0 comments on commit d622436

Please sign in to comment.