Skip to content

Commit

Permalink
Merge pull request #268 from OutDecision/issue/168
Browse files Browse the repository at this point in the history
🎨 [UPDATE]: 끌올 메소드 변경
  • Loading branch information
sye1101 authored May 30, 2024
2 parents c60233e + 3b992f6 commit 579c84f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ApiResponse<Object> offNotification(@PathVariable Long postId) {
}

/* 끌어올리기 */
@PatchMapping("/{postId}/bumps")
@PostMapping("/{postId}/bumps")
@Operation(summary = "게시글 끌어올리기", description = "게시글을 게시판 상단으로 올려준다.")
public ApiResponse<Object> upPost(@PathVariable Long postId) {
return ApiResponse.onSuccess(postServiceImpl.topPost(postId));
Expand Down

0 comments on commit 579c84f

Please sign in to comment.