feat: remove lnurl from api (#91)

This commit is contained in:
dni ⚡ 2025-08-18 10:55:13 +02:00 committed by GitHub
commit 4784ebc9f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 25 additions and 48 deletions

View file

@ -41,5 +41,5 @@ async def print_qr(request: Request, link_id):
raise HTTPException(
status_code=HTTPStatus.NOT_FOUND, detail="Pay link does not exist."
)
ctx = {"request": request, "lnurl": link.lnurl(req=request)}
ctx = {"request": request, "link_id": link.id}
return lnurlp_renderer().TemplateResponse("lnurlp/print_qr.html", ctx)