Add withdrawal_link_id to 'extra' database field for payments (#24)

This commit is contained in:
Jakub Dvořák 2024-03-08 09:29:07 +01:00 committed by GitHub
commit b2b4b40c6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,7 +116,7 @@ async def api_lnurl_callback(
wallet_id=link.wallet,
payment_request=pr,
max_sat=link.max_withdrawable,
extra={"tag": "withdraw"},
extra={"tag": "withdraw", "withdrawal_link_id": link.id},
)
if link.webhook_url:
await dispatch_webhook(link, payment_hash, pr)