diff --git a/lnbits/core/static/js/wallet.js b/lnbits/core/static/js/wallet.js index ae98919a3..8e782c548 100644 --- a/lnbits/core/static/js/wallet.js +++ b/lnbits/core/static/js/wallet.js @@ -621,7 +621,7 @@ new Vue({ if (!newName || !newName.length) return // let data = {name: newName} LNbits.api - .request('PUT', '/api/v1/wallet/' + newName, this.g.wallet.inkey, {}) + .request('PUT', '/api/v1/wallet/' + newName, this.g.wallet.adminkey, {}) .then(res => { this.newName = '' this.$q.notify({