Skip to content

Commit

Permalink
#87 typo: 퍼즐 수정 API에 @PatchMapping으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JoongHyun-Kim committed Jun 17, 2024
1 parent 00f817f commit 85d5f97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public BaseResponse<CreatePuzzleResponse> createPuzzle(@PathVariable Long groupI
}

// [작성자] 퍼즐 수정
@GetMapping("/{puzzleIdx}/edit")
@PatchMapping("/{puzzleIdx}/edit")
public BaseResponse<String> editPuzzle(@PathVariable("groupIdx") Long groupIdx, @PathVariable("puzzleIdx") Long puzzleIdx, @RequestPart MultipartFile newImage, @RequestPart EditPuzzleRequest editPuzzleRequest) {
try {
return puzzleService.editPuzzle(groupIdx, puzzleIdx, newImage, editPuzzleRequest);
Expand Down

0 comments on commit 85d5f97

Please sign in to comment.