Skip to content

Commit

Permalink
Merge pull request #74 from wafflestudio/feat/mypage
Browse files Browse the repository at this point in the history
🐛 Fix updatePrice
  • Loading branch information
ws11222 authored Jan 26, 2025
2 parents 1022125 + 6712808 commit 062ce64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class AuctionService(

auctionEntity.currentPrice = auctionMessage.price
auctionEntity.bidder = bidder
if (ChronoUnit.MINUTES.between(auctionEntity.endTime, Instant.now()) <= 1) {
if (ChronoUnit.SECONDS.between(Instant.now(), auctionEntity.endTime) <= 60) {
auctionEntity.endTime = Instant.now().plus(1, ChronoUnit.MINUTES)
}

Expand Down

0 comments on commit 062ce64

Please sign in to comment.