commit a40a2847e2b23ced35e50860300f3c7be2dfc1c3
parent 15f78547d0c812f98fe8b779a5d3edd90de37586
Author: Florian Dold <florian.dold@gmail.com>
Date: Thu, 18 Jun 2020 23:05:55 +0530
fix switched around currency
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -577,7 +577,7 @@ fun serverMain(dbName: String) {
creditorName = res.preparedPayment.creditorName,
creditorBic = res.preparedPayment.creditorBic,
creditorIban = res.preparedPayment.creditorIban,
- amount = "${res.preparedPayment.sum}:${res.preparedPayment.currency}",
+ amount = "${res.preparedPayment.currency}:${res.preparedPayment.sum}",
subject = res.preparedPayment.subject,
submissionDate = if (sd != null) {
importDateFromMillis(sd).toDashedDate()