feat: add lud17 urls to qr / copy (#89)

* feat: add lud17 urls to qr / copy
This commit is contained in:
dni ⚡ 2025-07-23 11:32:13 +02:00 committed by GitHub
commit 1455afa219
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 88 additions and 14 deletions

View file

@ -132,13 +132,11 @@ async def api_lnurl_callback(
@lnurlp_lnurl_router.get(
"/api/v1/lnurl/{link_id}", # Backwards compatibility for old LNURLs / QR codes
status_code=HTTPStatus.OK,
name="lnurlp.api_lnurl_response.deprecated",
deprecated=True,
)
@lnurlp_lnurl_router.get(
"/{link_id}",
status_code=HTTPStatus.OK,
name="lnurlp.api_lnurl_response",
)
async def api_lnurl_response(