[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: rename uri to url
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: rename uri to url |
Date: |
Tue, 30 Jan 2018 01:33:33 +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 d129b85 rename uri to url
d129b85 is described below
commit d129b8569e2ef3309c0f9a60d9f826018128cd79
Author: Florian Dold <address@hidden>
AuthorDate: Tue Jan 30 01:33:19 2018 +0100
rename uri to url
---
talerbank/app/schemas.py | 4 ++--
talerbank/app/tests.py | 2 +-
talerbank/app/views.py | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/talerbank/app/schemas.py b/talerbank/app/schemas.py
index d001e60..269d791 100644
--- a/talerbank/app/schemas.py
+++ b/talerbank/app/schemas.py
@@ -74,7 +74,7 @@ WITHDRAW_SESSION_SCHEMA = {
"type": "object",
"properties": {
"type": {"type": "string"},
- "bank_uri": {"type": "string"},
+ "bank_url": {"type": "string"},
"account_number": {"type": "integer"}
}
}
@@ -89,7 +89,7 @@ WIREDETAILS_SCHEMA = {
"properties": {
"type": {"type": "string"},
"account_number": {"type": "integer"},
- "bank_uri": {"type": "string"},
+ "bank_url": {"type": "string"},
"name": {"type": "string", "required": False},
}
}
diff --git a/talerbank/app/tests.py b/talerbank/app/tests.py
index e7f830b..bebf876 100644
--- a/talerbank/app/tests.py
+++ b/talerbank/app/tests.py
@@ -69,7 +69,7 @@ class WithdrawTestCase(TestCase):
"test": {
"type":"test",
"account_number":99,
- "bank_uri":"http://bank.example/",
+ "bank_url":"http://bank.example/",
"name":"example"
}
}'''
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 89f9ce1..5f7d366 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -231,7 +231,7 @@ def pin_tan_question(request):
request.session["reserve_pub"] = request.GET["reserve_pub"]
request.session["sender_wiredetails"] = {
"type": "test",
- "bank_uri": request.build_absolute_uri(reverse("index")),
+ "bank_url": request.build_absolute_uri(reverse("index")),
"account_number": user_account.account_no}
fail_message, success_message, hint = get_session_hint(request,
"captcha_failed")
question, hashed_answer = make_question()
@@ -584,7 +584,7 @@ def withdraw_nojs(request):
response["X-Taler-Amount"] = json.dumps(amount.dump())
response["X-Taler-Sender-Wire"] = json.dumps(dict(
type="test",
- bank_uri=request.build_absolute_uri(reverse("index")),
+ bank_url=request.build_absolute_uri(reverse("index")),
account_number=user_account.account_no
))
if settings.TALER_SUGGESTED_EXCHANGE:
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: rename uri to url,
gnunet <=