Add getSettings documentation

This commit is contained in:
Chocobozzz 2020-04-27 10:21:24 +02:00 committed by Chocobozzz
parent 055cfb11a9
commit 2db9c70f67
1 changed files with 3 additions and 0 deletions

View File

@ -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