From 5973f8bbca33e3e03b9e4c9f24f7d1c87dee14c8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 24 Nov 2020 23:35:04 +0100 Subject: [PATCH] lib: fix bad_request_message for new error template --- passbook/lib/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/lib/views.py b/passbook/lib/views.py index 69472b857..2d97dbc06 100644 --- a/passbook/lib/views.py +++ b/passbook/lib/views.py @@ -36,6 +36,6 @@ def bad_request_message( return TemplateResponse( request, template, - {"message": message, "card_title": _(title)}, + {"message": message, "title": _(title)}, status=400, )