Skip to content

Commit

Permalink
feat: Add user wishcoupon except blank logic
Browse files Browse the repository at this point in the history
  • Loading branch information
2zerozu committed Jul 20, 2023
1 parent 7ec4dfe commit 4e0b7d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/universe/uni/service/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public UserWishCouponResponseDto getUserWishCouponList(Long userId) {
.stream()
.flatMap(entry -> entry.getValue().stream())
.map(this::fromWishCouponToWishCouponDto)
.filter(wishCouponDto -> !wishCouponDto.content().isBlank())
.collect(Collectors.toList());

return UserWishCouponResponseDto.builder()
Expand Down

0 comments on commit 4e0b7d7

Please sign in to comment.