Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Fix: 쿼리 파라미터 변수 이름 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdtn0219 committed Nov 29, 2023
1 parent 4f5db20 commit 90ab4df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class RoomController {
@GetMapping("/{accommodationId}")
public ResponseDto<List<RoomGetResponseFromAPI>> getRooms(
@PathVariable Long accommodationId,
@RequestParam String checkIn,
@RequestParam String checkOut
@RequestParam(value = "check-in") String checkIn,
@RequestParam(value = "check-out") String checkOut
) {
List<RoomGetResponseFromAPI> rooms = roomService.bringRoomsFromAPI(accommodationId, checkIn, checkOut);
return new ResponseDto<>(HttpStatus.OK.value(), rooms);
Expand Down

0 comments on commit 90ab4df

Please sign in to comment.