From c59d0a51ff6cef1e7a0e9696bcbb84ca28647196 Mon Sep 17 00:00:00 2001 From: Tiago vasconcelos Date: Fri, 18 Mar 2022 20:58:47 +0000 Subject: [PATCH] change key on PUT request --- lnbits/core/static/js/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({