gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-merchant-demos] branch master updated: fix missing lang val


From: gnunet
Subject: [taler-taler-merchant-demos] branch master updated: fix missing lang value in url
Date: Fri, 23 Apr 2021 12:24:22 +0200

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

dold pushed a commit to branch master
in repository taler-merchant-demos.

The following commit(s) were added to refs/heads/master by this push:
     new 22e2a93  fix missing lang value in url
22e2a93 is described below

commit 22e2a937f9ed13058cd532beaa26d241cb14d64b
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Apr 23 12:24:16 2021 +0200

    fix missing lang value in url
---
 talermerchantdemos/donations/donations.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/talermerchantdemos/donations/donations.py 
b/talermerchantdemos/donations/donations.py
index 6c0a86b..3c347e9 100644
--- a/talermerchantdemos/donations/donations.py
+++ b/talermerchantdemos/donations/donations.py
@@ -224,6 +224,7 @@ def donate(lang):
         "fulfillment",
         timestamp=str(time.time()),
         receiver=donation_receiver,
+        lang=lang,
         _external=True,
     )
     fulfillment_url = fulfillment_url + "&order_id=${ORDER_ID}"
@@ -241,7 +242,9 @@ def donate(lang):
     )
     order_id = order_resp["order_id"]
     return flask.redirect(
-        flask.url_for("fulfillment", receiver=donation_receiver, 
order_id=order_id)
+        flask.url_for(
+            "fulfillment", receiver=donation_receiver, order_id=order_id, 
lang=lang
+        )
     )
 
 

-- 
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]