unique name for deprecated endpoitn
This commit is contained in:
parent
cfab334d0f
commit
9e953bc3e1
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue