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
+1 -1
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({