fix: error handling (#3214)

This commit is contained in:
Tiago Vasconcelos
2025-06-24 18:27:28 +03:00
committed by GitHub
parent b1a09af82c
commit 7c0a955b30
2 changed files with 15 additions and 9 deletions
+3 -3
View File
@@ -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