gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-bank] branch master updated: stringify


From: gnunet
Subject: [taler-bank] branch master updated: stringify
Date: Thu, 20 Aug 2020 10:15:23 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 41c75a2  stringify
41c75a2 is described below

commit 41c75a2717cf869b09fe5d8edc8a3931de8028f5
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Thu Aug 20 13:45:19 2020 +0530

    stringify
---
 talerbank/app/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 8449123..5e3cb49 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -1295,7 +1295,7 @@ def bank_accounts_api_balance(request, user_account, 
acct_id):
         dict(
             # The balance field is kept as long as the cashier still uses it
             balance=acct.balance.stringify(),
-            balance_amount=acct.balance.amount,
+            balance_amount=acct.balance.amount.stringify(),
             credit_debit_indicator=("credit" if acct.balance.is_positive else 
"debit"),
         )
     )

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]