gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: complete previous change


From: gnunet
Subject: [libeufin] branch master updated: complete previous change
Date: Thu, 16 Jun 2022 09:45:19 +0200

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 089dfc82 complete previous change
089dfc82 is described below

commit 089dfc82e21961fb17b0745808fba742154afaf2
Author: MS <ms@taler.net>
AuthorDate: Thu Jun 16 09:45:10 2022 +0200

    complete previous change
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
index 3fbf1d25..51c2e757 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
@@ -193,6 +193,7 @@ private suspend fun talerTransfer(call: ApplicationCall) {
             }
         }
         val exchangeBankAccount = getFacadeBankAccount(facadeId)
+        val paymentSubject = "${transferRequest.exchange_base_url} 
${transferRequest.wtid}"
         val pain001 = addPaymentInitiation(
             Pain001Data(
                 creditorIban = creditorData.iban,
@@ -200,7 +201,7 @@ private suspend fun talerTransfer(call: ApplicationCall) {
                 creditorName = creditorData.receiverName ?: throw NexusError(
                     HttpStatusCode.BadRequest, "Payto did not mention account 
owner"
                 ),
-                subject = transferRequest.wtid,
+                subject = "${transferRequest.exchange_base_url} 
${transferRequest.wtid}",
                 sum = amountObj.amount,
                 currency = amountObj.currency
             ),
@@ -213,7 +214,7 @@ private suspend fun talerTransfer(call: ApplicationCall) {
             exchangeBaseUrl = transferRequest.exchange_base_url
             requestUid = transferRequest.request_uid
             amount = transferRequest.amount
-            wtid = "${transferRequest.exchange_base_url} 
${transferRequest.wtid}"
+            wtid = paymentSubject
             creditAccount = transferRequest.credit_account
         }
         row.id.value

-- 
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]