libeufin

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

commit 560bc13655f72b3b13dad3b172340236c60837c8
parent 0a31cadb6c44cf697a6ebf318d6877986f87099c
Author: MS <ms@taler.net>
Date:   Thu, 20 Jul 2023 12:59:28 +0200

same as previous commit

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -1394,7 +1394,7 @@ val sandboxApp: Application.() -> Unit = { transaction { maybeOwnedAccount.demoBank.name } )) { logger.error("Account ${maybeOwnedAccount.label} would surpass debit threshold. Not withdrawing") - throw SandboxError(HttpStatusCode.Forbidden, "Insufficient funds") + throw SandboxError(HttpStatusCode.Conflict, "Insufficient funds") } val wo: TalerWithdrawalEntity = transaction { TalerWithdrawalEntity.new {