From 3edf7e5540ed285a8fecf7523e443ae0f847f6aa Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 28 Dec 2024 16:25:46 +0100 Subject: [PATCH] Added template support. --- 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):