fix: rename bool super_user to is_super_user (#1690)

This commit is contained in:
Vlad Stan
2023-05-09 09:20:51 +01:00
committed by GitHub
parent c0f66989cb
commit 132d8a9320
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -463,7 +463,7 @@
this.g.user.wallets[0].adminkey
)
.then(response => {
this.isSuperUser = response.data.super_user || false
this.isSuperUser = response.data.is_super_user || false
this.settings = response.data
this.formData = _.clone(this.settings)
this.updateFundingData()
@@ -474,7 +474,7 @@
},
updateSettings() {
let data = _.omit(this.formData, [
'super_user',
'is_super_user',
'lnbits_allowed_funding_sources'
])
LNbits.api