Skip to content

Commit

Permalink
fix: 전체 회의실 조회 시 date가 없으면 예외가 발생하는 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Nov 6, 2023
1 parent a61e99b commit 8465d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/example/busan/room/RoomController.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public RoomController(final RoomService roomService) {
}

@GetMapping
public ResponseEntity<List<RoomResponse>> findAll(@RequestParam(value = "date") final LocalDate date,
public ResponseEntity<List<RoomResponse>> findAll(@RequestParam(value = "date", required = false) final LocalDate date,
final HttpSession httpSession) {
final Authentication authentication = (Authentication) httpSession.getAttribute(AUTHORIZATION);
final List<RoomResponse> response = roomService.findAllAtDate(date, authentication);
Expand Down

0 comments on commit 8465d23

Please sign in to comment.