From 40d3f371cd4b1b9e1c4c360f9152244a16628096 Mon Sep 17 00:00:00 2001 From: enisn Date: Tue, 28 Dec 2021 10:46:08 +0300 Subject: [PATCH] Fix creating PaymentRequest --- .../PaymentRequests/PaymentRequestAppService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/payment/src/EShopOnAbp.PaymentService.Application/PaymentRequests/PaymentRequestAppService.cs b/services/payment/src/EShopOnAbp.PaymentService.Application/PaymentRequests/PaymentRequestAppService.cs index 4e4cfc9d..d104c779 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.Application/PaymentRequests/PaymentRequestAppService.cs +++ b/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); }