.upper() on p and c to handle breez wallet lower-casing the whole url
This commit is contained in:
parent
89130bd1fb
commit
43db91641a
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ async def api_hits(
|
||||||
# /boltcards/api/v1/scan?p=00000000000000000000000000000000&c=0000000000000000
|
# /boltcards/api/v1/scan?p=00000000000000000000000000000000&c=0000000000000000
|
||||||
@boltcards_ext.get("/api/v1/scan")
|
@boltcards_ext.get("/api/v1/scan")
|
||||||
async def api_scane(p, c, request: Request):
|
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
|
card = None
|
||||||
counter = b""
|
counter = b""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue