chore: code clean-up
This commit is contained in:
parent
809d03d3db
commit
66a3b24dd5
2 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue