Skip to content

Commit

Permalink
Fix voucher's is-shared (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinlee1703 authored Nov 7, 2023
2 parents ace586a + 30379f7 commit cdd6bdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public VoucherReadResponseDto mapToDto(Voucher voucher) {
.expiresAt(voucher.getExpiresAt().toString())
.imageUrl(voucher.getImageUrl())
.accessible(voucher.getDeletedAt() == null)
.shared(giftCardService.isExist(voucher.getId()))
.shared(giftCardService.read(voucher.getId()).isEnable())
.build();
return voucherReadResponseDto;
}
Expand Down

0 comments on commit cdd6bdb

Please sign in to comment.