mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-20 21:44:13 +02:00
.upper() on p and c to handle breez wallet lower-casing the whole url
This commit is contained in:
parent
89130bd1fb
commit
43db91641a
@ -107,6 +107,9 @@ async def api_hits(
|
||||
# /boltcards/api/v1/scan?p=00000000000000000000000000000000&c=0000000000000000
|
||||
@boltcards_ext.get("/api/v1/scan")
|
||||
async def api_scane(p, c, request: Request):
|
||||
# some wallets send everything as lower case, no bueno
|
||||
p = p.upper()
|
||||
c = c.upper()
|
||||
card = None
|
||||
counter = b""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user