diff --git a/lnbits/core/static/js/wallet.js b/lnbits/core/static/js/wallet.js
index da3cd935e..7068e9ef1 100644
--- a/lnbits/core/static/js/wallet.js
+++ b/lnbits/core/static/js/wallet.js
@@ -266,7 +266,7 @@ new Vue({
           this.g.user.wallets[0].adminkey,
           {
             amount: credit,
-            id: this.g.user.wallets[0].id
+            id: this.g.wallet.id
           }
         )
         .then(response => {