[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: -fix field name
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: -fix field name |
Date: |
Thu, 21 Jul 2022 14:40:34 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new d6dee92 -fix field name
d6dee92 is described below
commit d6dee92e8548f325c3ccbae33e0d0d508f04358d
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Thu Jul 21 14:40:31 2022 +0200
-fix field name
---
talerbank/app/views.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 22bd618..0d0c47b 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -791,7 +791,7 @@ def build_history_response(qs, cancelled, user_account):
wt_subject=entry.subject,
row_id=entry.id,
date=dict(
- t_m=int(entry.date.timestamp()),
+ t_s=int(entry.date.timestamp()),
t_ms=int(entry.date.timestamp() * 1000)
),
)
@@ -936,7 +936,7 @@ def twg_add_incoming(request, user_account, acct_id):
{
"row_id": wtrans.id,
"timestamp": dict(
- t_m=(int(wtrans.date.timestamp())),
+ t_s=(int(wtrans.date.timestamp())),
t_ms=(int(wtrans.date.timestamp()) * 1000)
),
}
@@ -997,7 +997,7 @@ def twg_transfer(request, user_account, acct_id):
{
"row_id": wtrans.id,
"timestamp": dict(
- t_m=(int(wtrans.date.timestamp())),
+ t_s=(int(wtrans.date.timestamp())),
t_ms=(int(wtrans.date.timestamp()) * 1000)
),
}
@@ -1049,7 +1049,7 @@ def twg_history_incoming(request, user_account, acct_id):
row_id=item.id,
amount=item.amount.stringify(settings.TALER_DIGITS),
date=dict(
- t_m=(int(item.date.timestamp())),
+ t_s=(int(item.date.timestamp())),
t_ms=(int(item.date.timestamp()) * 1000)
),
reserve_pub=rp,
@@ -1084,7 +1084,7 @@ def twg_history_outgoing(request, user_account, acct_id):
row_id=item.id,
amount=item.amount.stringify(settings.TALER_DIGITS),
date=dict(
- t_m=(int(item.date.timestamp())),
+ t_s=(int(item.date.timestamp())),
t_ms=(int(item.date.timestamp()) * 1000)
),
wtid=wtid,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: -fix field name,
gnunet <=