Added template support.
Some checks failed
Build Base Application / Build (push) Failing after 1m44s

This commit is contained in:
retoor 2024-12-28 16:25:46 +01:00
parent 026d72f29f
commit 3edf7e5540

View File

@ -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):