Revert "Revert "shorten lnurlp endpoint URL for smaller QR codes""

This commit is contained in:
calle
2023-01-06 11:44:22 +01:00
committed by GitHub
parent 9b26528226
commit e1c01c6028
3 changed files with 8 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: