read qr tokens
This commit is contained in:
parent
40f385dbe4
commit
5e900508fc
1 changed files with 3 additions and 3 deletions
|
|
@ -1247,9 +1247,9 @@ page_container %}
|
||||||
this.payInvoiceData.data.request = req
|
this.payInvoiceData.data.request = req
|
||||||
reqtype = 'lnurl'
|
reqtype = 'lnurl'
|
||||||
return
|
return
|
||||||
} else if (req.indexOf('cashu:') !== 1) {
|
// } else if (req.indexOf('cashu:') !== 1) {
|
||||||
this.receiveData.tokensBase64 = req.slice(req.indexOf('cashu:'))
|
// this.receiveData.tokensBase64 = req.slice(req.indexOf('cashu:'))
|
||||||
reqtype = 'cashu'
|
// reqtype = 'cashu'
|
||||||
} else if (req.indexOf('W3siaWQ') !== 1) {
|
} else if (req.indexOf('W3siaWQ') !== 1) {
|
||||||
// very dirty way of parsing cashu tokens
|
// very dirty way of parsing cashu tokens
|
||||||
this.receiveData.tokensBase64 = req.slice(req.indexOf('W3siaWQ'))
|
this.receiveData.tokensBase64 = req.slice(req.indexOf('W3siaWQ'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue