Skip to content

Commit

Permalink
refactor: 리퀘스트 파라미터 변수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seulgi99 committed Aug 26, 2024
1 parent 899d0b4 commit 3d29b99
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ public ResponseEntity<Void> cancelStudyAssignment(@PathVariable Long studyDetail
// TODO 스터디 세션 워딩을 커리큘럼으로 변경해야함
@Operation(summary = "스터디 주차별 커리큘럼 목록 조회", description = "멘토가 자신의 스터디 커리큘럼 목록을 조회합니다")
@GetMapping("/sessions")
public ResponseEntity<List<StudySessionResponse>> getStudySessions(@RequestParam(name = "study") Long studyId) {
public ResponseEntity<List<StudySessionResponse>> getStudySessions(@RequestParam(name = "studyId") Long studyId) {
List<StudySessionResponse> response = mentorStudyDetailService.getSessions(studyId);
return ResponseEntity.ok(response);
}

@Operation(summary = "스터디 주차별 출결번호 조회", description = "멘토가 자신의 스터디 출결번호 목록을 조회합니다. 지난 출석은 목록에서 제외합니다.")
@GetMapping("/attendances")
public ResponseEntity<List<StudyMentorAttendanceResponse>> getAttendanceNumber(
@RequestParam(name = "study") Long studyId) {
@RequestParam(name = "studyId") Long studyId) {
List<StudyMentorAttendanceResponse> response = mentorStudyDetailService.getAttendanceNumber(studyId);
return ResponseEntity.ok(response);
}
Expand Down

0 comments on commit 3d29b99

Please sign in to comment.