commit 036598c3f3ae999ed3be17f60e53ac436f845799
parent fc800dae22f656b378e31a5c2b14285043801918
Author: ms <ms@taler.net>
Date: Sat, 8 Jan 2022 20:24:38 +0100
remove unused definition
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -357,10 +357,6 @@ data class BankAccountInfo(
val bic: String,
)
-data class BankAccountsListReponse(
- val accounts: List<BankAccountInfo>
-)
-
inline fun <reified T> Document.toObject(): T {
val jc = JAXBContext.newInstance(T::class.java)
val m = jc.createUnmarshaller()
@@ -1283,6 +1279,7 @@ val sandboxApp: Application.() -> Unit = {
})
return@get
}
+ // This endpoint is being called "GET /transaction" in the docs.
get("/accounts/{account_name}/history") {
val demobank = ensureDemobank(call)
val bankAccount = getBankAccountFromLabel(