libeufin

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

commit 9632ba7c7d358fc714c1cc65af1a9b9fcf054f88
parent f2cc89f7f03b81c4c6ce97961c934688f26c2005
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Wed, 12 Feb 2020 18:50:47 +0100

comments

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt @@ -290,10 +290,6 @@ fun main() { } } - post("/ebics/subscribers/fetch-accounts") { - // FIXME(marcello): fetch accounts via HTD and store it in the database - } - get("/ebics/subscribers/{id}/accounts") { // FIXME(marcello): return bank accounts associated with the subscriber, // this information is only avaiable *after* HTD or HKD has been called @@ -444,9 +440,10 @@ fun main() { } transaction { val subscriber = EbicsSubscriberEntity.findById(customerIdAtNexus) + // FIXME: see if "!!" can be avoided payload.value.partnerInfo.accountInfoList!!.forEach { EbicsAccountInfoEntity.new { - this.subscriber = subscriber!! /* Checked at the beginning of this function */ + this.subscriber = subscriber!! /* FIXME: Always true here, but to be avoided */ accountId = it.id accountHolder = it.accountHolder /* FIXME: how to figure out whether that's a general or national account number? */