fix: topup wallet was showing NaN (#2504)

* fix: topup wallet was showing NaN
This commit is contained in:
dni ⚡
2024-05-16 15:31:24 +02:00
committed by GitHub
parent 7a6c3646fb
commit 35bb3cc94b
5 changed files with 21 additions and 10 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ window.LNbits = {
)
},
updateBalance: function (credit, wallet_id) {
return LNbits.api.request('PUT', '/users/api/v1/topup/', null, {
return LNbits.api.request('PUT', '/users/api/v1/topup', null, {
amount: credit,
id: wallet_id
})