clean up logs

This commit is contained in:
Tiago Vasconcelos 2022-12-08 10:34:27 +00:00
parent 301cc6229e
commit 5797f0a77d

View file

@ -429,7 +429,6 @@
this.settings = response.data this.settings = response.data
this.formData = _.clone(this.settings) this.formData = _.clone(this.settings)
this.updateFundingData() this.updateFundingData()
console.log(this.settings)
}) })
.catch(function (error) { .catch(function (error) {
LNbits.utils.notifyApiError(error) LNbits.utils.notifyApiError(error)
@ -448,8 +447,6 @@
data data
) )
.then(response => { .then(response => {
console.log(response)
if (response.status != 200) throw new Error('Request Failed')
this.needsRestart = this.needsRestart =
this.settings.lnbits_backend_wallet_class !== this.settings.lnbits_backend_wallet_class !==
this.formData.lnbits_backend_wallet_class this.formData.lnbits_backend_wallet_class
@ -463,7 +460,6 @@
}) })
}) })
.catch(function (error) { .catch(function (error) {
console.error(error)
LNbits.utils.notifyApiError(error) LNbits.utils.notifyApiError(error)
}) })
}, },