aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-27 10:21:24 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-05-04 16:21:39 +0200
commit2db9c70f670c2210d103062fa143dc4888caa190 (patch)
tree971bfc686c4004000112135f3e82f00f6d47d889 /support
parent055cfb11a9d688dbc2dce5c164d1f0b311918378 (diff)
downloadPeerTube-2db9c70f670c2210d103062fa143dc4888caa190.tar.gz
PeerTube-2db9c70f670c2210d103062fa143dc4888caa190.tar.zst
PeerTube-2db9c70f670c2210d103062fa143dc4888caa190.zip
Add getSettings documentation
Diffstat (limited to 'support')
-rw-r--r--support/doc/plugins/guide.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index fdad63087..81691c8c1 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -157,6 +157,9 @@ registerSetting({
157}) 157})
158 158
159const adminName = await settingsManager.getSetting('admin-name') 159const adminName = await settingsManager.getSetting('admin-name')
160
161const result = await settingsManager.getSettings([ 'admin-name', 'admin-password' ])
162result['admin-name]
160``` 163```
161 164
162#### Storage 165#### Storage