From e630b0ac8f1d01a421bc019d41b6083a62818c63 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 28 Dec 2024 15:25:46 +0000 Subject: [PATCH] feat: add template rendering support with variable substitution and conditional blocks --- src/app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.py b/src/app/app.py index 99a5d7c..1476179 100644 --- a/src/app/app.py +++ b/src/app/app.py @@ -104,7 +104,7 @@ class BaseApplication(RPCApplication): return await handler(request) async def render_template(self, name, request, context): - return aiohttp_jinja2.render_template(name, request=self.request, context) + return aiohttp_jinja2.render_template(name, self.request, context) @web.middleware async def request_middleware(self, request: web.Request, handler):