feat: add negative topups (#2835)

* feat: add negative topups
* remove topup dialog

---------

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
dni ⚡
2024-12-17 21:06:58 +01:00
committed by GitHub
co-authored by Vlad Stan
parent 368da935db
commit 37187bfc2c
20 changed files with 121 additions and 145 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ window.LNbits = {
)
},
updateBalance(credit, wallet_id) {
return this.request('PUT', '/users/api/v1/topup', null, {
return this.request('PUT', '/users/api/v1/balance', null, {
amount: credit,
id: wallet_id
})