libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 981392149cbfd6a454182e2be1d296629a9879f6
parent 1765e587b5c2eb52b79ca31ca13ae7aca3409ab5
Author: MS <ms@taler.net>
Date:   Tue, 14 Mar 2023 15:07:26 +0100

fix receiver-name

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -1445,9 +1445,7 @@ val sandboxApp: Application.() -> Unit = { iban = bankAccount.iban, bic = bankAccount.bic, // username 'null' should only happen when auth is disabled. - receiverName = getPersonNameFromCustomer( - username ?: "Not given." - ) + receiverName = getPersonNameFromCustomer(bankAccount.owner) ) val iban = bankAccount.iban // The Elvis operator helps the --no-auth case,