Skip to content

Commit fda11d4

Browse files
fix bid typo
1 parent 7874568 commit fda11d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

carrot/app/auction/services.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ async def place_bid(self, auction_id: str, bidder_id: str, bid_price: int) -> Bi
4848
auction.bid_count += 1
4949
await self.repository.update_auction_without_commit(auction)
5050

51-
await self.db_session.commit()
52-
await self.db_session.refresh(new_bid)
53-
await self.db_session.refresh(auction)
51+
await self.session.commit()
52+
await self.session.refresh(new_bid)
53+
await self.session.refresh(auction)
5454
return new_bid
5555

5656
async def get_top_bid(self, auction_id: str) -> Bid:

0 commit comments

Comments
 (0)