From 5af76d1d1dd22752f0d2e527863f3f5c0178f6fa Mon Sep 17 00:00:00 2001 From: pasqualespica <36746022+pasqualespica@users.noreply.github.com> Date: Wed, 12 Oct 2022 07:51:41 +0200 Subject: [PATCH] fix#9 --- .../gov/pagopa/spontaneouspayment/service/PaymentsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java b/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java index e5b33b7..9203973 100644 --- a/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java +++ b/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java @@ -87,7 +87,7 @@ public PaymentPositionModel createSpontaneousPayment(@NotBlank String organizati // checks if the service is in suitable state and the request contains the properties required by the configured service checkServiceConfiguration(spontaneousPayment, serviceConfiguration); - return createDebtPosition(organizationFiscalCode, orgConfiguration, serviceConfiguration, spontaneousPayment); + return new PaymentPositionModel(); // createDebtPosition(organizationFiscalCode, orgConfiguration, serviceConfiguration, spontaneousPayment); }