chore: code clean-up
This commit is contained in:
@@ -24,7 +24,6 @@ const mapCharge = (obj, oldObj = {}) => {
|
||||
charge.displayUrl = ['/satspay/', obj.id].join('')
|
||||
charge.expanded = oldObj.expanded
|
||||
charge.pendingBalance = oldObj.pendingBalance || 0
|
||||
console.log('### charge', charge)
|
||||
return charge
|
||||
}
|
||||
|
||||
|
||||
@@ -346,7 +346,6 @@
|
||||
`/satspay/api/v1/charge/${this.charge.id}`
|
||||
)
|
||||
this.charge = mapCharge(data, this.charge)
|
||||
console.log('### ', this.charge)
|
||||
} catch (error) {
|
||||
LNbits.utils.notifyApiError(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user