Skip to content

Commit

Permalink
revert to json
Browse files Browse the repository at this point in the history
  • Loading branch information
talvasconcelos committed Oct 4, 2024
1 parent dcb79bc commit 0747258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def lnurlp_renderer():
@lnurlp_generic_router.get("/", response_class=HTMLResponse)
async def index(request: Request, user: User = Depends(check_user_exists)):
return lnurlp_renderer().TemplateResponse(
"lnurlp/index.html", {"request": request, "user": user.dict()}
"lnurlp/index.html", {"request": request, "user": user.json()}
)


Expand Down

0 comments on commit 0747258

Please sign in to comment.