mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-03 09:29:14 +01:00
change key on PUT request
This commit is contained in:
parent
0f97f8f18b
commit
c59d0a51ff
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue