change key on PUT request
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user