Skip to content

Commit 91593d7

Browse files
authored
Update src/Modules/SimplCommerce.Module.Orders/Services/OrderService.cs
1 parent bc0df9c commit 91593d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Modules/SimplCommerce.Module.Orders/Services/OrderService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ public async Task<Result<Order>> CreateOrder(Guid checkoutId, string paymentMeth
210210
PaymentMethod = paymentMethod,
211211
PaymentFeeAmount = paymentFeeAmount
212212
};
213-
using (var transaction = _checkoutItemRepository.BeginTransaction()){
213+
using (var transaction = _checkoutItemRepository.BeginTransaction())
214+
{
214215
foreach (var checkoutItem in checkout.CheckoutItems)
215216
{
216217
if (!checkoutItem.Product.IsAllowToOrder || !checkoutItem.Product.IsPublished || checkoutItem.Product.IsDeleted)

0 commit comments

Comments
 (0)