mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 19:54:18 +01:00
fix getting the PR (#732)
This commit is contained in:
@@ -88,7 +88,8 @@ class LNbitsWallet(LightningBackend):
|
|||||||
if data.get("detail"):
|
if data.get("detail"):
|
||||||
return InvoiceResponse(ok=False, error_message=data["detail"])
|
return InvoiceResponse(ok=False, error_message=data["detail"])
|
||||||
|
|
||||||
checking_id, payment_request = data["checking_id"], data["payment_request"]
|
checking_id = data["checking_id"]
|
||||||
|
payment_request = data.get("bolt11") or data.get("payment_request")
|
||||||
|
|
||||||
return InvoiceResponse(
|
return InvoiceResponse(
|
||||||
ok=True,
|
ok=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user