Skip to content

Commit

Permalink
Merge pull request #198 from lemonssoju/typo/87-editPuzzle
Browse files Browse the repository at this point in the history
[typo/87-editPuzzle] 퍼즐 수정 API에 @PatchMapping으로 수정
  • Loading branch information
JoongHyun-Kim authored Jun 17, 2024
2 parents 02ae3ac + 85d5f97 commit 0fc0ec4
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 0fc0ec4

Please sign in to comment.