mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-10 12:59:43 +02:00
unique name for deprecated endpoitn
This commit is contained in:
parent
cfab334d0f
commit
9e953bc3e1
@ -18,9 +18,9 @@ from .crud import increment_pay_link
|
||||
|
||||
|
||||
@lnurlp_ext.get(
|
||||
"/api/v1/lnurl/{link_id}", # Backwards compatibility for old codes (with long URL)
|
||||
"/api/v1/lnurl/{link_id}", # Backwards compatibility for old LNURLs / QR codes (with long URL)
|
||||
status_code=HTTPStatus.OK,
|
||||
name="lnurlp.api_lnurl_response",
|
||||
name="lnurlp.api_lnurl_response.deprecated",
|
||||
)
|
||||
@lnurlp_ext.get(
|
||||
"/a/{link_id}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user