diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-30 01:33:19 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-30 01:33:19 +0100 |
commit | d129b8569e2ef3309c0f9a60d9f826018128cd79 (patch) | |
tree | 5c3096046e8ae6a650d56e799172b6c35f0241c3 | |
parent | 8035958596113d5e58a98c8487f0a4c6fb1e7467 (diff) | |
download | bank-d129b8569e2ef3309c0f9a60d9f826018128cd79.tar.gz bank-d129b8569e2ef3309c0f9a60d9f826018128cd79.tar.bz2 bank-d129b8569e2ef3309c0f9a60d9f826018128cd79.zip |
rename uri to url
-rw-r--r-- | talerbank/app/schemas.py | 4 | ||||
-rw-r--r-- | talerbank/app/tests.py | 2 | ||||
-rw-r--r-- | 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: |