commit 482241ee0e43b9ee83157c7b3cdfe873ae4f36c2
parent 6d41eb68dbc4ced068c7e2fc8513c86b6d5d0d5f
Author: Antoine A <>
Date: Wed, 30 Oct 2024 18:26:17 +0100
bank: fix create-token cmd
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bank/src/main/kotlin/tech/libeufin/bank/cli/CreateToken.kt b/bank/src/main/kotlin/tech/libeufin/bank/cli/CreateToken.kt
@@ -26,6 +26,7 @@ import com.github.ajalt.clikt.parameters.groups.provideDelegate
import com.github.ajalt.clikt.parameters.options.*
import com.github.ajalt.clikt.parameters.types.*
import tech.libeufin.bank.*
+import tech.libeufin.bank.auth.*
import tech.libeufin.common.*
import java.time.*
import java.time.temporal.ChronoUnit
@@ -80,7 +81,7 @@ class CreateToken : CliktCommand("create-token") {
)) {
throw internalServerError("Unknown account $username")
}
- println(token)
+ println("$TOKEN_PREFIX$token")
}
}
}
\ No newline at end of file