Add getSettings documentation
This commit is contained in:
parent
055cfb11a9
commit
2db9c70f67
1 changed files with 3 additions and 0 deletions
|
@ -157,6 +157,9 @@ registerSetting({
|
||||||
})
|
})
|
||||||
|
|
||||||
const adminName = await settingsManager.getSetting('admin-name')
|
const adminName = await settingsManager.getSetting('admin-name')
|
||||||
|
|
||||||
|
const result = await settingsManager.getSettings([ 'admin-name', 'admin-password' ])
|
||||||
|
result['admin-name]
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Storage
|
#### Storage
|
||||||
|
|
Loading…
Reference in a new issue