Skip to content

Commit

Permalink
fix: place nullable에 따른 일정 조회 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mummhy0811 committed Jun 4, 2024
1 parent 9a0bf4e commit dfb409f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public TripPlaceResDto(TripPlace tripPlace) {
this.tripPlaceIdx = tripPlace.getTripPlaceIdx();
this.tripDate = tripPlace.getTripDate();
this.placeOrder = tripPlace.getPlaceOrder();
this.place = tripPlace.getPlace().toPlace();
this.place = tripPlace.getPlace() == null ? null : tripPlace.getPlace().toPlace();
this.placeAmount = tripPlace.getPlaceAmount();
this.placeMemo = tripPlace.getPlaceMemo();
this.replyCount = tripPlace.getTripReplies().size();
Expand Down

0 comments on commit dfb409f

Please sign in to comment.