Skip to content

Commit

Permalink
Merge pull request #145 from lemonssoju/chore/enum
Browse files Browse the repository at this point in the history
[chore/enum] 불필요한 enum 삭제
  • Loading branch information
JoongHyun-Kim authored May 29, 2024
2 parents 61952e9 + 14b4c34 commit 0b05c0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 55 deletions.
52 changes: 0 additions & 52 deletions src/main/java/com/lesso/neverland/common/enums/Contents.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public BaseResponse<String> createPuzzle(@PathVariable Long groupIdx, @RequestPa

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

// [작성자] 퍼즐 삭제
Expand All @@ -71,7 +71,7 @@ public BaseResponse<String> addPuzzlePiece(@PathVariable("groupIdx") Long groupI
}

// [작성자] 퍼즐 완성하기
@PostMapping("/{puzzleIdx}}")
@PostMapping("/{puzzleIdx}")
public BaseResponse<CompletePuzzleResponse> completePuzzle(@PathVariable("groupIdx") Long groupIdx,
@PathVariable("puzzleIdx") Long puzzleIdx,
@RequestBody CompletePuzzleRequest completePuzzleRequest)
Expand Down

0 comments on commit 0b05c0e

Please sign in to comment.