diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt index e45e6ab..cd204dc 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt @@ -24,7 +24,7 @@ class GetReservationController( @GetMapping fun getAllReservation(@RequestParam("shopId") shopId: String?): ResponseEntity> { - if (!StringUtils.hasLength(shopId)) { + if (!StringUtils.hasText(shopId)) { throw IllegalArgumentException("가게 식별자는 필수입니다.") }