chore: code clean-up

This commit is contained in:
Vlad Stan 2022-07-12 10:55:21 +03:00
parent 809d03d3db
commit 66a3b24dd5
2 changed files with 0 additions and 2 deletions

View file

@ -24,7 +24,6 @@ const mapCharge = (obj, oldObj = {}) => {
charge.displayUrl = ['/satspay/', obj.id].join('') charge.displayUrl = ['/satspay/', obj.id].join('')
charge.expanded = oldObj.expanded charge.expanded = oldObj.expanded
charge.pendingBalance = oldObj.pendingBalance || 0 charge.pendingBalance = oldObj.pendingBalance || 0
console.log('### charge', charge)
return charge return charge
} }

View file

@ -346,7 +346,6 @@
`/satspay/api/v1/charge/${this.charge.id}` `/satspay/api/v1/charge/${this.charge.id}`
) )
this.charge = mapCharge(data, this.charge) this.charge = mapCharge(data, this.charge)
console.log('### ', this.charge)
} catch (error) { } catch (error) {
LNbits.utils.notifyApiError(error) LNbits.utils.notifyApiError(error)
} }