commit b88be146117455f50bfc2c1b084278aefa1dcc78
parent 7e9f247649c67a881ae3919e5cda0510a74805dc
Author: Antoine A <>
Date: Tue, 2 Apr 2024 22:34:32 +0200
Fix printing
Diffstat:
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/bank/src/main/kotlin/tech/libeufin/bank/TalerMessage.kt b/bank/src/main/kotlin/tech/libeufin/bank/TalerMessage.kt
@@ -185,7 +185,6 @@ data class RegisterAccountRequest(
val tan_channel: TanChannel? = null,
) {
init {
- println(username)
if (!USERNAME_REGEX.matches(username))
throw badRequest("username '$username' is malformed")
}
diff --git a/bank/src/main/kotlin/tech/libeufin/bank/params.kt b/bank/src/main/kotlin/tech/libeufin/bank/params.kt
@@ -42,7 +42,6 @@ fun Parameters.uuid(name: String): UUID? {
try {
UUID.fromString(this)
} catch (e: Exception) {
- println("$this $e")
throw badRequest("Param '$name' not an UUID", TalerErrorCode.GENERIC_PARAMETER_MALFORMED)
}
}