fix: error handling (#3214)
This commit is contained in:
@@ -338,9 +338,6 @@ window.WalletPageLogic = {
|
||||
'/api/v1/lnurlscan/' + this.parse.data.request,
|
||||
this.g.wallet.adminkey
|
||||
)
|
||||
.catch(err => {
|
||||
LNbits.utils.notifyApiError(err)
|
||||
})
|
||||
.then(response => {
|
||||
const data = response.data
|
||||
|
||||
@@ -378,6 +375,9 @@ window.WalletPageLogic = {
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
LNbits.utils.notifyApiError(err)
|
||||
})
|
||||
},
|
||||
decodeQR(res) {
|
||||
this.parse.data.request = res[0].rawValue
|
||||
|
||||
Reference in New Issue
Block a user