From 9babae2755d0b43bfce68df105dd779c2869da6c Mon Sep 17 00:00:00 2001 From: jeongchanmin Date: Sat, 1 Feb 2025 22:44:35 +0900 Subject: [PATCH] =?UTF-8?q?Refactor=20:=20=ED=95=99=EC=8A=B5=20=EC=84=B8?= =?UTF-8?q?=ED=8A=B8=20=EB=AA=A9=EB=A1=9D=20=EC=A1=B0=ED=9A=8C=20postmappi?= =?UTF-8?q?ng=20->=20getmapping=20=EB=B3=80=EA=B2=BD=20(#46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ripple/BE/learning/controller/LearningController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/ripple/BE/learning/controller/LearningController.java b/src/main/java/com/ripple/BE/learning/controller/LearningController.java index d92b289..5576cf7 100644 --- a/src/main/java/com/ripple/BE/learning/controller/LearningController.java +++ b/src/main/java/com/ripple/BE/learning/controller/LearningController.java @@ -12,6 +12,7 @@ import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.security.core.annotation.AuthenticationPrincipal; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -33,7 +34,7 @@ public ResponseEntity> saveLearningSetsByExcel() { } @Operation(summary = "레벨별 학습 세트 조회", description = "레벨별 전체 학습 세트를 조회합니다.") - @PostMapping + @GetMapping public ResponseEntity> getLearningSets( final @AuthenticationPrincipal CustomUserDetails currentUser) {