gnunet-svn
[Top][All Lists]
Advanced

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

[taler-bank] branch master updated: fix import


From: gnunet
Subject: [taler-bank] branch master updated: fix import
Date: Thu, 01 Oct 2020 18:25:02 +0200

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

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 8d8f790  fix import
8d8f790 is described below

commit 8d8f790ff6edc37d0a29679267926ab4aa346697
Author: MS <ms@taler.net>
AuthorDate: Thu Oct 1 18:24:58 2020 +0200

    fix import
---
 talerbank/app/middleware.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talerbank/app/middleware.py b/talerbank/app/middleware.py
index eeb6a67..deb937c 100644
--- a/talerbank/app/middleware.py
+++ b/talerbank/app/middleware.py
@@ -11,7 +11,7 @@ from .views import (
     SameAccountException,
     LoginFailed,
     UnhandledException,
-    set_profile_hint,
+    set_session_hint,
 )
 
 from .schemas import JSONFieldException, URLParamValidationError, 
InvalidSession
@@ -105,7 +105,7 @@ class ExceptionMiddleware:
                     {"code": exception.taler_error_code, "error": 
exception.hint},
                     status=exception.http_status_code,
                 )
-            set_profile_hint(request, failure=True, success=False, 
hint=exception.hint)
+            set_session_hint(request, failure=True, success=False, 
hint=exception.hint)
             return redirect(render_to)
         else:
             return JsonResponse(dict(code=5300, hint="unexpected exception", 
exception=str(exception)), status=500)

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