Merge pull request #588 from talvasconcelos/fix/renameWallet
Fix the renaming of wallets
This commit is contained in:
commit
c229fb9ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ new Vue({
|
||||||
if (!newName || !newName.length) return
|
if (!newName || !newName.length) return
|
||||||
// let data = {name: newName}
|
// let data = {name: newName}
|
||||||
LNbits.api
|
LNbits.api
|
||||||
.request('PUT', '/api/v1/wallet/' + newName, this.g.wallet.inkey, {})
|
.request('PUT', '/api/v1/wallet/' + newName, this.g.wallet.adminkey, {})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
this.newName = ''
|
this.newName = ''
|
||||||
this.$q.notify({
|
this.$q.notify({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue