Merge pull request #1346 from lnbits/fix/settings/lnd_rest_admin_macaroon_nonexistent

fix: add missing entries
This commit is contained in:
calle 2023-01-11 12:15:34 +01:00 committed by GitHub
commit 3e1cc79a23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 11 deletions

View File

@ -141,15 +141,15 @@
return {
settings: {},
lnbits_theme_options: [
'classic',
'bitcoin',
'flamingo',
'freedom',
'mint',
'autumn',
'monochrome',
'salvador'
],
'classic',
'bitcoin',
'flamingo',
'freedom',
'mint',
'autumn',
'monochrome',
'salvador'
],
formData: {},
formAddAdmin: '',
formAddUser: '',
@ -204,11 +204,11 @@
value: null,
label: 'Certificate'
},
lnd_admin_macaroon: {
lnd_rest_admin_macaroon: {
value: null,
label: 'Admin Macaroon'
},
lnd_invoice_macaroon: {
lnd_rest_invoice_macaroon: {
value: null,
label: 'Invoice Macaroon'
}

View File

@ -98,6 +98,8 @@ class LndRestFundingSource(LNbitsSettings):
lnd_cert: Optional[str] = Field(default=None)
lnd_admin_macaroon: Optional[str] = Field(default=None)
lnd_invoice_macaroon: Optional[str] = Field(default=None)
lnd_rest_admin_macaroon: Optional[str] = Field(default=None)
lnd_rest_invoice_macaroon: Optional[str] = Field(default=None)
class LndGrpcFundingSource(LNbitsSettings):