Skip to content

Commit

Permalink
Merge pull request #110 from Hanaro-trip-together-bank/feature/trip-p…
Browse files Browse the repository at this point in the history
…lace

fix: place nullable에 따른 일정 조회 수정
  • Loading branch information
mummhy0811 authored Jun 4, 2024
2 parents e2d60c8 + dfb409f commit 8d1190d
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 8d1190d

Please sign in to comment.