change link url as well

This commit is contained in:
callebtc
2023-01-05 13:44:57 +01:00
parent 9e953bc3e1
commit 4dc94bba7d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ async def index(request: Request, user: User = Depends(check_user_exists)):
)
@lnurlp_ext.get("/{link_id}", response_class=HTMLResponse)
@lnurlp_ext.get("/link/{link_id}", response_class=HTMLResponse)
async def display(request: Request, link_id):
link = await get_pay_link(link_id)
if not link: