mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 02:28:10 +01:00
Fix for boltcard app change
This commit is contained in:
parent
3080094273
commit
d95a3032e6
@ -151,12 +151,18 @@ async def api_auth(a, request: Request):
|
||||
)
|
||||
|
||||
response = {
|
||||
"card_name": card.name,
|
||||
"id": 1,
|
||||
"k0": card.k0,
|
||||
"k1": card.k1,
|
||||
"k2": card.k2,
|
||||
"k3": card.k1,
|
||||
"k4": card.k2,
|
||||
"lnurlw_base": lnurlw_base,
|
||||
"protocol_name": "new_bolt_card_response",
|
||||
"protocol_version": 1
|
||||
}
|
||||
|
||||
|
||||
return response
|
||||
|
||||
|
||||
|
@ -268,7 +268,9 @@ new Vue({
|
||||
external_id: card.external_id,
|
||||
k0: card.k0,
|
||||
k1: card.k1,
|
||||
k2: card.k2
|
||||
k2: card.k2,
|
||||
k3: card.k1,
|
||||
k4: card.k2
|
||||
}
|
||||
this.qrCodeDialog.show = true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user