gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: mark as submitted


From: gnunet
Subject: [libeufin] branch master updated: mark as submitted
Date: Thu, 18 Jun 2020 16:51:23 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 69d823d  mark as submitted
69d823d is described below

commit 69d823dc1d888a0208c5f8301db8f5c09be54f80
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Thu Jun 18 20:21:04 2020 +0530

    mark as submitted
---
 nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt
index ccffa96..e5359b7 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsNexus.kt
@@ -668,4 +668,9 @@ suspend fun submitEbicsPaymentInitiation(httpClient: 
HttpClient, paymentInitiati
         r.painMessage.toByteArray(Charsets.UTF_8),
         EbicsStandardOrderParams()
     )
-}
\ No newline at end of file
+    transaction {
+        val paymentInitiation = 
PaymentInitiationEntity.findById(paymentInitiationId)
+            ?: throw NexusError(HttpStatusCode.NotFound, "payment initiation 
not found")
+        paymentInitiation.submitted = true
+    }
+}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]