[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: typos / fixme removal
From: |
gnunet |
Subject: |
[libeufin] branch master updated: typos / fixme removal |
Date: |
Mon, 13 Apr 2020 19:01:05 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 9aa480e typos / fixme removal
9aa480e is described below
commit 9aa480ea1199d3091a5399736de028563e0f81f5
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Apr 13 19:00:56 2020 +0200
typos / fixme removal
---
nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
index e9221b6..57f503f 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
@@ -163,10 +163,6 @@ class Taler(app: Route) {
app.post("/taler/transfer") {
val exchangeId =
authenticateRequest(call.request.headers["Authorization"])
val transferRequest = call.receive<TalerTransferRequest>()
-
- /**
- * FIXME: check the UID before putting new data into the database.
- */
val opaque_row_id = transaction {
val creditorData = parsePayto(transferRequest.credit_account)
val exchangeBankAccount = getBankAccountsInfoFromId(exchangeId)
@@ -190,7 +186,7 @@ class Taler(app: Route) {
) {
throw NexusError(
HttpStatusCode.Conflict,
- "This uid (${transferRequest.request_uid}) belong
to a different payment altrady"
+ "This uid (${transferRequest.request_uid}) belongs
to a different payment already"
)
}
}
@@ -209,7 +205,7 @@ class Taler(app: Route) {
TalerTransferResponse(
/**
* Normally should point to the next round where the
background
- * routing will sent new PAIN.001 data to the bank; work
in progress..
+ * routine will send new PAIN.001 data to the bank; work
in progress..
*/
timestamp = DateTime.now().millis / 1000,
row_id = opaque_row_id
@@ -217,6 +213,7 @@ class Taler(app: Route) {
)
return@post
}
+
/** Test-API that creates one new payment addressed to the exchange.
*/
app.post("/taler/admin/add-incoming") {
val exchangeId =
authenticateRequest(call.request.headers["Authorization"])
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: typos / fixme removal,
gnunet <=