Skip to content

Commit

Permalink
Merge pull request #50 from Travel-in-nanaland/feat/#22-nana-pick
Browse files Browse the repository at this point in the history
[#22] feat: nanaDetail 조회 pathvariable id Long 타입으로 변경
  • Loading branch information
Te-H0 authored Apr 18, 2024
2 parents 5a80a1a + 317585a commit 0eb9e53
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ public BaseResponse<NanaThumbnailDto> nanaAll(@AuthMember Member member, int pag
@ApiResponse(responseCode = "401", description = "accessToken이 유효하지 않은 경우", content = @Content)
})
@GetMapping("/{id}")
public BaseResponse<NanaDetailDto> nanaDetail(@PathVariable(name = "id") String id) {
public BaseResponse<NanaDetailDto> nanaDetail(@PathVariable(name = "id") Long id) {
return BaseResponse.success(SuccessCode.NANA_DETAIL_SUCCESS,
nanaService.getNanaDetail(Long.parseLong(id)));
nanaService.getNanaDetail(id));
}


Expand Down

0 comments on commit 0eb9e53

Please sign in to comment.