gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Help message wording.


From: gnunet
Subject: [libeufin] branch master updated: Help message wording.
Date: Sat, 23 Sep 2023 09:57:40 +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 aa768bd7 Help message wording.
aa768bd7 is described below

commit aa768bd7c09f0ea4a0b53caf9390bfa1ac68fac6
Author: MS <ms@taler.net>
AuthorDate: Sat Sep 23 09:57:13 2023 +0200

    Help message wording.
---
 bank/src/main/kotlin/tech/libeufin/bank/talerIntegrationHandlers.kt | 6 +++---
 bank/src/main/kotlin/tech/libeufin/bank/tokenHandlers.kt            | 2 +-
 cli/bin/libeufin-cli                                                | 2 --
 nexus/src/main/kotlin/tech/libeufin/nexus/FacadeUtil.kt             | 3 +--
 4 files changed, 5 insertions(+), 8 deletions(-)

diff --git 
a/bank/src/main/kotlin/tech/libeufin/bank/talerIntegrationHandlers.kt 
b/bank/src/main/kotlin/tech/libeufin/bank/talerIntegrationHandlers.kt
index 1442fbd2..502d8746 100644
--- a/bank/src/main/kotlin/tech/libeufin/bank/talerIntegrationHandlers.kt
+++ b/bank/src/main/kotlin/tech/libeufin/bank/talerIntegrationHandlers.kt
@@ -44,7 +44,7 @@ fun Routing.talerIntegrationHandlers(db: Database, ctx: 
BankApplicationContext)
         val suggestedExchange = ctx.suggestedWithdrawalExchange
         val walletCustomer = 
db.customerGetFromRowId(relatedBankAccount.owningCustomerId)
         if (walletCustomer == null)
-            throw internalServerError("Could not resort the username that owns 
this withdrawal")
+            throw internalServerError("Could not get the username that owns 
this withdrawal")
         val confirmUrl = getWithdrawalConfirmUrl(
             baseUrl = call.request.getBaseUrl() ?: throw 
internalServerError("Could not get bank own base URL."),
             wopId = wopid,
@@ -96,9 +96,9 @@ fun Routing.talerIntegrationHandlers(db: Database, ctx: 
BankApplicationContext)
         // Getting user details that MIGHT be used later.
         val confirmUrl: String? = if (!op.confirmationDone) {
             val walletBankAccount = 
db.bankAccountGetFromOwnerId(op.walletBankAccount)
-                ?: throw internalServerError("Could not resort the bank 
account owning this withdrawal")
+                ?: throw internalServerError("Could not get the bank account 
owning this withdrawal")
             val walletCustomer = 
db.customerGetFromRowId(walletBankAccount.owningCustomerId)
-                ?: throw internalServerError("Could not resort the username 
owning this withdrawal")
+                ?: throw internalServerError("Could not get the username 
owning this withdrawal")
             getWithdrawalConfirmUrl(
                 baseUrl = call.request.getBaseUrl()
                     ?: throw internalServerError("Could not get bank own base 
URL."),
diff --git a/bank/src/main/kotlin/tech/libeufin/bank/tokenHandlers.kt 
b/bank/src/main/kotlin/tech/libeufin/bank/tokenHandlers.kt
index 7160f991..218651d3 100644
--- a/bank/src/main/kotlin/tech/libeufin/bank/tokenHandlers.kt
+++ b/bank/src/main/kotlin/tech/libeufin/bank/tokenHandlers.kt
@@ -73,7 +73,7 @@ fun Routing.tokenHandlers(db: Database, ctx: 
BankApplicationContext) {
             )
         val tokenDurationUs  = req.duration?.d_us ?: TOKEN_DEFAULT_DURATION_US
         val customerDbRow = customer.dbRowId ?: throw internalServerError(
-            "Could not resort customer '${customer.login}' database row ID"
+            "Could not get customer '${customer.login}' database row ID"
         )
         val expirationTimestampUs: Long = getNowUs() + tokenDurationUs
         if (expirationTimestampUs < tokenDurationUs)
diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index a1fe9b11..9a7471ab 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -1896,8 +1896,6 @@ def password_reconfig(obj, username):
 )
 @click.pass_obj
 def circuit_cashout(obj, subject, amount_debit, amount_credit, tan_channel):
-    # (not) resorting auth credentials, if they're None, request fails at the 
server.
-    # Craft the request.  
     req = dict(
         amount_debit=amount_debit,
         amount_credit=amount_credit
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/FacadeUtil.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/FacadeUtil.kt
index bab3bb48..76234fbe 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/FacadeUtil.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/FacadeUtil.kt
@@ -12,7 +12,6 @@ import 
org.jetbrains.exposed.sql.transactions.TransactionManager
 import org.jetbrains.exposed.sql.transactions.transaction
 import tech.libeufin.nexus.server.NexusFacadeType
 
-// Mainly used to resort the last processed transaction ID.
 fun getFacadeState(fcid: String): FacadeStateEntity {
     return transaction {
         val facade = FacadeEntity.find {
@@ -119,4 +118,4 @@ fun ingestFacadeTransactions(
             flushCache()
         }
     }
-}
\ No newline at end of file
+}

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