Update tasks.py
Co-authored-by: dni ⚡ <office@dnilabs.com>
This commit is contained in:
parent
f6a7f46e3a
commit
f2669214de
1 changed files with 2 additions and 2 deletions
4
tasks.py
4
tasks.py
|
|
@ -72,8 +72,8 @@ async def send_webhook(payment: Payment, pay_link: PayLink):
|
||||||
"comment": payment.extra.get("comment"),
|
"comment": payment.extra.get("comment"),
|
||||||
"webhook_data": payment.extra.get("webhook_data") or "",
|
"webhook_data": payment.extra.get("webhook_data") or "",
|
||||||
"lnurlp": pay_link.id,
|
"lnurlp": pay_link.id,
|
||||||
"body": json.loads(pay_link.webhook_body),
|
"zap_receipt": pay_link.zap_receipt,
|
||||||
"zap_receipt": pay_link.zap_receipt
|
"body": json.loads(pay_link.webhook_body)
|
||||||
if pay_link.webhook_body
|
if pay_link.webhook_body
|
||||||
else "",
|
else "",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue