fix const req (#2824)
This commit is contained in:
parent
826f8ad2ac
commit
646c341840
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ window.app = Vue.createApp({
|
||||||
decodeRequest() {
|
decodeRequest() {
|
||||||
this.parse.show = true
|
this.parse.show = true
|
||||||
this.parse.data.request = this.parse.data.request.trim().toLowerCase()
|
this.parse.data.request = this.parse.data.request.trim().toLowerCase()
|
||||||
const req = this.parse.data.request
|
let req = this.parse.data.request
|
||||||
if (req.startsWith('lightning:')) {
|
if (req.startsWith('lightning:')) {
|
||||||
this.parse.data.request = req.slice(10)
|
this.parse.data.request = req.slice(10)
|
||||||
} else if (req.startsWith('lnurl:')) {
|
} else if (req.startsWith('lnurl:')) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue