summaryrefslogtreecommitdiff
path: root/sandbox/src/main/kotlin/tech/libeufin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-01-20 20:19:46 +0100
committerMS <ms@taler.net>2023-01-20 20:19:46 +0100
commitb5848e374e4ea6aab3da91b514cbd88f3742557a (patch)
treee094968e7dbccc0131dd12e43d3dc06d8e6468c8 /sandbox/src/main/kotlin/tech/libeufin
parent45147878c2d1dcb3a9b9e5237d7565b67db6f403 (diff)
downloadlibeufin-b5848e374e4ea6aab3da91b514cbd88f3742557a.tar.gz
libeufin-b5848e374e4ea6aab3da91b514cbd88f3742557a.tar.bz2
libeufin-b5848e374e4ea6aab3da91b514cbd88f3742557a.zip
fix copy-and-paste error
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin')
-rw-r--r--sandbox/src/main/kotlin/tech/libeufin/sandbox/CircuitApi.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/CircuitApi.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/CircuitApi.kt
index 1ac23785..78870cf6 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/CircuitApi.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/CircuitApi.kt
@@ -402,7 +402,7 @@ fun circuitApi(circuitRoute: Route) {
"SMS TAN supported but the command" +
" was not found. See the --sms-tan option from 'serve'"
),
- address = customer.email ?: throw internalServerError(
+ address = customer.phone ?: throw internalServerError(
"Customer has no phone number, but previous check should" +
" have detected it!"