[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: use right user
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: use right user |
Date: |
Thu, 28 Nov 2019 18:16:05 +0100 |
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 75b5cb6 use right user
75b5cb6 is described below
commit 75b5cb607e3de6a4ea08656ef05d69e234550a17
Author: Florian Dold <address@hidden>
AuthorDate: Thu Nov 28 18:16:00 2019 +0100
use right user
---
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 dc5dd4f..40de3e6 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -901,7 +901,7 @@ def add_incoming(request, user_account):
def withdraw_headless_uri(request, user):
data_json = json.loads(request.body.decode("utf-8"))
data = WithdrawHeadlessUri(data_json)
- user_account = BankAccount.objects.get(user=request.user)
+ user_account = BankAccount.objects.get(user=user)
op = TalerWithdrawOperation(amount=data.amount,
withdraw_account=user_account)
op.save()
host = request.get_host()
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: use right user,
gnunet <=