Skip to content

Commit

Permalink
fix: remove code annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
inh2613 committed Nov 8, 2023
1 parent 0e8d354 commit f6307d4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ public boolean isExist(String id) {
*/
public boolean isExist(Long voucherId) {
if (giftCardRepository.existsByVoucherId(voucherId)) {
// if (giftCardRepository.findAllByVoucherId(voucherId).get().getExpiresAt().isAfter(LocalDateTime.now())) {
// return true;
// }
List<Giftcard> giftCards = giftCardRepository.findAllByVoucherId(voucherId);

return giftCards.stream()
Expand Down

0 comments on commit f6307d4

Please sign in to comment.