Skip to content

Commit

Permalink
Merge pull request #325 from catchroom/develop
Browse files Browse the repository at this point in the history
Refact : 테스트
  • Loading branch information
Parkgeonmoo authored Jan 26, 2024
2 parents cf518d5 + 29ef6be commit 104acbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public List<SalesHistoryNowResponse> salesHistoryNowService(@AuthenticationPrinc

return responses;
}

@Transactional
public List<SalesHistoryDoneResponse> salesHistoryDoneService(@AuthenticationPrincipal User user) {
Long userId = user.getId();
Expand All @@ -88,7 +88,7 @@ public List<SalesHistoryDoneResponse> salesHistoryDoneService(@AuthenticationPri
.orElse(null);

Boolean reviewDeleteType = Optional.ofNullable(product.getReview())
.map(Review::getReviewDeleteType)// getType() 호출 전에 null인지 확인
.map(Review::getReviewDeleteType)
.orElse(null);

String reviewStatusType = null;
Expand Down

0 comments on commit 104acbd

Please sign in to comment.