mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 02:28:10 +01:00
u
This commit is contained in:
parent
ad7bba60d3
commit
a03033a851
@ -69,7 +69,12 @@ async def lnurl_callback(cp_id):
|
||||
memo=cp.lnurl_title,
|
||||
webhook="/copilot/api/v1/copilot/hook/" + cp_id + "/" + str(amount_received),
|
||||
description_hash=hashlib.sha256((str(cp.lnurl_title)).encode("utf-8")).digest(),
|
||||
# extra={"tag": "copilot", "comment": comment},
|
||||
extra={"tag": "copilot", "comment": comment},
|
||||
)
|
||||
|
||||
return jsonify(pr=payment_request, success_action=None, routes=[])
|
||||
resp = LnurlPayActionResponse(
|
||||
pr=payment_request,
|
||||
success_action=success_action,
|
||||
routes=[],
|
||||
)
|
||||
print(payment_request)
|
||||
return jsonify(resp.dict())
|
Loading…
Reference in New Issue
Block a user