fix flake8 F601 (dictionary key repeated with different values)
This commit is contained in:
parent
e05340269b
commit
3e42adc66f
2 changed files with 1 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ async def lnurl_callback(
|
||||||
wallet_id=card.wallet,
|
wallet_id=card.wallet,
|
||||||
payment_request=pr,
|
payment_request=pr,
|
||||||
max_sat=card.tx_limit,
|
max_sat=card.tx_limit,
|
||||||
extra={"tag": "boltcard", "tag": hit.id},
|
extra={"tag": "boltcard", "hit": hit.id},
|
||||||
)
|
)
|
||||||
return {"status": "OK"}
|
return {"status": "OK"}
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ def public_charge(charge: Charges):
|
||||||
"timestamp": charge.timestamp,
|
"timestamp": charge.timestamp,
|
||||||
"time_elapsed": charge.time_elapsed,
|
"time_elapsed": charge.time_elapsed,
|
||||||
"time_left": charge.time_left,
|
"time_left": charge.time_left,
|
||||||
"paid": charge.paid,
|
|
||||||
"custom_css": charge.custom_css,
|
"custom_css": charge.custom_css,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue