Skip to content

Commit

Permalink
대충 배포
Browse files Browse the repository at this point in the history
  • Loading branch information
InBackSu committed Jan 2, 2024
1 parent 66b8f3f commit bc4dd8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ResponseEntity<Void> submitDiary(@Valid @RequestBody DiarySubmitRequest r
}

@GetMapping("/list")
public ResponseEntity<DiaryListResponse> listDiary(@RequestParam Long grade, @RequestParam Long classroom){
public ResponseEntity<DiaryListResponse> listDiary(@RequestParam(required = false) Long grade, @RequestParam(required = false) Long classroom){
DiaryListResponse response = diaryService.listDiary(grade, classroom);
return ResponseEntity.ok().body(response);
}
Expand Down

0 comments on commit bc4dd8f

Please sign in to comment.