|
|
@@ -93,6 +93,7 @@ public class AuctionRecordService {
|
|
|
auction.setPurchasePrice(amount);
|
|
|
auction.setPurchaser(SecurityUtils.getAuthenticatedUser().getNickname());
|
|
|
auction.setPurchaserId(SecurityUtils.getAuthenticatedUser().getId());
|
|
|
+ auction.setBids(auction.getBids() + 1);
|
|
|
auctionActivityRepo.save(auction);
|
|
|
}
|
|
|
return save;
|