Skip to content

Commit

Permalink
Merge pull request #45 from UMC-6th-Hackathon-Team-4/feature/1
Browse files Browse the repository at this point in the history
보물상자 컨트롤러 인스턴스수정
  • Loading branch information
dldusgh318 authored Jul 4, 2024
2 parents 06bcab8 + 9d5cb5f commit ca4859d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ApiResponse<List<TreasureBox>> getTreasureBoxes() {
//보물상자 조회
@GetMapping("/treasurebox/list/choose")
@Operation(summary = "보물상자 하나 조회", description = "보물상자 하나를 조회하는 API")
public ApiResponse<TreasureBox> getTreasureBox(Long treasureId) {
public ApiResponse<TreasureBox> getTreasureBox(@RequestParam Long treasureId) {
TreasureBox treasureBox = treasureBoxService.getTreasureBox(treasureId);
return ApiResponse.onSuccess(treasureBox);
}
Expand Down

0 comments on commit ca4859d

Please sign in to comment.