fix: v1 changes
This commit is contained in:
parent
134016312f
commit
7ea4146d7f
5 changed files with 38 additions and 31 deletions
2
views.py
2
views.py
|
|
@ -20,7 +20,7 @@ def withdraw_renderer():
|
|||
@withdraw_ext_generic.get("/", response_class=HTMLResponse)
|
||||
async def index(request: Request, user: User = Depends(check_user_exists)):
|
||||
return withdraw_renderer().TemplateResponse(
|
||||
"withdraw/index.html", {"request": request, "user": user.dict()}
|
||||
"withdraw/index.html", {"request": request, "user": user.json()}
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue