From 84bebf3be8b356ffe51ff9f10250ecb6caa3b922 Mon Sep 17 00:00:00 2001 From: Dustbox <53044223+sanggae4133@users.noreply.github.com> Date: Wed, 20 Mar 2024 09:21:08 +0900 Subject: [PATCH] =?UTF-8?q?[Hotfix]=20spot=20Controller=20findBySpotId=20A?= =?UTF-8?q?PI=20endpoint=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ttubeog/domain/spot/presentation/SpotController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ttubeog/domain/spot/presentation/SpotController.java b/src/main/java/com/ttubeog/domain/spot/presentation/SpotController.java index 8672a57..0a77d53 100644 --- a/src/main/java/com/ttubeog/domain/spot/presentation/SpotController.java +++ b/src/main/java/com/ttubeog/domain/spot/presentation/SpotController.java @@ -171,7 +171,7 @@ public ResponseEntity createSpot( @GetMapping("/{spotId}") public ResponseEntity findBySpotId( @CurrentUser HttpServletRequest request, - @RequestParam(name = "spotId") Long spotId + @PathVariable(name = "spotId") Long spotId ) throws JsonProcessingException { return spotService.findBySpotId(request, spotId); }