Browse Source

Fix creating PaymentRequest

pull/48/head
enisn 5 years ago
parent
commit
40d3f371cd
  1. 2
      services/payment/src/EShopOnAbp.PaymentService.Application/PaymentRequests/PaymentRequestAppService.cs

2
services/payment/src/EShopOnAbp.PaymentService.Application/PaymentRequests/PaymentRequestAppService.cs

@ -38,6 +38,8 @@ namespace EShopOnAbp.PaymentService.PaymentRequests
paymentRequest.Products.Add(paymentRequestProduct);
}
await PaymentRequestRepository.InsertAsync(paymentRequest);
return ObjectMapper.Map<PaymentRequest, PaymentRequestDto>(paymentRequest);
}

Loading…
Cancel
Save