Add getSettings documentation
This commit is contained in:
parent
055cfb11a9
commit
2db9c70f67
|
@ -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 New Issue