From 317585a4eb3a8724db4f09c57ed25714212c918c Mon Sep 17 00:00:00 2001 From: teho Date: Fri, 19 Apr 2024 02:22:08 +0900 Subject: [PATCH] =?UTF-8?q?[#22]=20feat:=20nanaDetail=20=EC=A1=B0=ED=9A=8C?= =?UTF-8?q?=20pathvariable=20id=20Long=20=ED=83=80=EC=9E=85=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeju/nanaland/domain/nana/controller/NanaController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/jeju/nanaland/domain/nana/controller/NanaController.java b/src/main/java/com/jeju/nanaland/domain/nana/controller/NanaController.java index df2f6129..48abc2db 100644 --- a/src/main/java/com/jeju/nanaland/domain/nana/controller/NanaController.java +++ b/src/main/java/com/jeju/nanaland/domain/nana/controller/NanaController.java @@ -64,9 +64,9 @@ public BaseResponse nanaAll(@AuthMember Member member, int pag @ApiResponse(responseCode = "401", description = "accessToken이 유효하지 않은 경우", content = @Content) }) @GetMapping("/{id}") - public BaseResponse nanaDetail(@PathVariable(name = "id") String id) { + public BaseResponse nanaDetail(@PathVariable(name = "id") Long id) { return BaseResponse.success(SuccessCode.NANA_DETAIL_SUCCESS, - nanaService.getNanaDetail(Long.parseLong(id))); + nanaService.getNanaDetail(id)); }