From 3d29b9941bd882aa47df4c8be5cbce147a533a31 Mon Sep 17 00:00:00 2001 From: seulgi99 Date: Mon, 26 Aug 2024 11:51:06 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=A6=AC=ED=80=98=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=ED=8C=8C=EB=9D=BC=EB=AF=B8=ED=84=B0=20=EB=B3=80?= =?UTF-8?q?=EC=88=98=EB=AA=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gdsc/domain/study/api/MentorStudyDetailController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gdschongik/gdsc/domain/study/api/MentorStudyDetailController.java b/src/main/java/com/gdschongik/gdsc/domain/study/api/MentorStudyDetailController.java index bf3c28319..9245303e5 100644 --- a/src/main/java/com/gdschongik/gdsc/domain/study/api/MentorStudyDetailController.java +++ b/src/main/java/com/gdschongik/gdsc/domain/study/api/MentorStudyDetailController.java @@ -68,7 +68,7 @@ public ResponseEntity cancelStudyAssignment(@PathVariable Long studyDetail // TODO 스터디 세션 워딩을 커리큘럼으로 변경해야함 @Operation(summary = "스터디 주차별 커리큘럼 목록 조회", description = "멘토가 자신의 스터디 커리큘럼 목록을 조회합니다") @GetMapping("/sessions") - public ResponseEntity> getStudySessions(@RequestParam(name = "study") Long studyId) { + public ResponseEntity> getStudySessions(@RequestParam(name = "studyId") Long studyId) { List response = mentorStudyDetailService.getSessions(studyId); return ResponseEntity.ok(response); } @@ -76,7 +76,7 @@ public ResponseEntity> getStudySessions(@RequestParam @Operation(summary = "스터디 주차별 출결번호 조회", description = "멘토가 자신의 스터디 출결번호 목록을 조회합니다. 지난 출석은 목록에서 제외합니다.") @GetMapping("/attendances") public ResponseEntity> getAttendanceNumber( - @RequestParam(name = "study") Long studyId) { + @RequestParam(name = "studyId") Long studyId) { List response = mentorStudyDetailService.getAttendanceNumber(studyId); return ResponseEntity.ok(response); }