mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-05 04:54:39 +02:00
removed print
This commit is contained in:
@ -466,7 +466,6 @@ async def api_lnurlscan(code: str):
|
|||||||
@core_app.post("/api/v1/payments/decode")
|
@core_app.post("/api/v1/payments/decode")
|
||||||
async def api_payments_decode(data: str = Query(None)):
|
async def api_payments_decode(data: str = Query(None)):
|
||||||
try:
|
try:
|
||||||
print(data["data"][:5])
|
|
||||||
if data["data"][:5] == "LNURL":
|
if data["data"][:5] == "LNURL":
|
||||||
url = lnurl.decode(data["data"])
|
url = lnurl.decode(data["data"])
|
||||||
return {"domain": url}
|
return {"domain": url}
|
||||||
|
Reference in New Issue
Block a user