Skip to content

Commit

Permalink
🎨 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jafacode committed Feb 1, 2025
1 parent 6482920 commit 23b7c59
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,12 @@ class AuctionService(
isDummy = 1,
)
articleRepository.save(articleEntity)
if (auction.seller.id != auction.bidder?.id)
{
chatRoomService.createChatRoom(
articleEntity.id ?: throw IllegalArgumentException("Article ID cannot be null"),
articleEntity.seller.id ?: throw IllegalArgumentException("Seller ID cannot be null"),
articleEntity.buyer?.id ?: throw IllegalArgumentException("Buyer ID cannot be null"),
)
}
if (auction.seller.id != auction.bidder?.id) {
chatRoomService.createChatRoom(
articleEntity.id ?: throw IllegalArgumentException("Article ID cannot be null"),
articleEntity.seller.id ?: throw IllegalArgumentException("Seller ID cannot be null"),
articleEntity.buyer?.id ?: throw IllegalArgumentException("Buyer ID cannot be null"),
)
}
}
}

0 comments on commit 23b7c59

Please sign in to comment.