Merge pull request #588 from talvasconcelos/fix/renameWallet

Fix the renaming of wallets
This commit is contained in:
Arc 2022-04-15 22:27:35 +01:00 committed by GitHub
commit c229fb9ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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({