fix flake8 F601 (dictionary key repeated with different values)

This commit is contained in:
Pavol Rusnak 2023-01-21 15:37:14 +00:00
parent e05340269b
commit 3e42adc66f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 1 additions and 2 deletions

View File

@ -124,7 +124,7 @@ async def lnurl_callback(
wallet_id=card.wallet,
payment_request=pr,
max_sat=card.tx_limit,
extra={"tag": "boltcard", "tag": hit.id},
extra={"tag": "boltcard", "hit": hit.id},
)
return {"status": "OK"}
except Exception as exc:

View File

@ -18,7 +18,6 @@ def public_charge(charge: Charges):
"timestamp": charge.timestamp,
"time_elapsed": charge.time_elapsed,
"time_left": charge.time_left,
"paid": charge.paid,
"custom_css": charge.custom_css,
}