diff --git a/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java b/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java index 56ad6a4..c677cd8 100644 --- a/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java +++ b/src/main/java/org/withtime/be/withtimebe/domain/date/converter/DateConverter.java @@ -123,8 +123,8 @@ public static DateResponseDTO.DatePlace createDatePlace(DatePlace datePlace, .roadNameAddress(datePlace.getRoadNameAddress()) .lotNumberAddress(datePlace.getLotNumberAddress()) .placeType(datePlace.getPlaceType()) - .startTime(LocalTime.from(startTime)) - .endTime(LocalTime.from(endTime)) + .startTime(startTime != null ? LocalTime.from(startTime) : null) + .endTime(endTime != null ? LocalTime.from(endTime) : null) .signatureDish(toSignatureDish(datePlace.getItems() == null || datePlace.getItems().isEmpty() ? null : datePlace.getItems().get(0))) .placeCategoryResponseList(placeCategoryResponseList) .build();